mirror of
https://github.com/louislam/dockge.git
synced 2024-10-30 01:10:39 +00:00
b5f6919bab
* Downgrade from Node.js 20 to Node.js 18.17.1 * Enable back socket.io polling * Avoid multiple commands at the same for a stack
26 lines
995 B
Docker
26 lines
995 B
Docker
FROM node:18.17.1-bookworm-slim
|
|
ENV PNPM_HOME="/pnpm"
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
|
|
|
# COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/
|
|
|
|
RUN apt update && apt install --yes --no-install-recommends \
|
|
curl \
|
|
ca-certificates \
|
|
gnupg \
|
|
unzip \
|
|
dumb-init \
|
|
&& install -m 0755 -d /etc/apt/keyrings \
|
|
&& curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
|
|
&& chmod a+r /etc/apt/keyrings/docker.gpg \
|
|
&& echo \
|
|
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \
|
|
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
|
|
tee /etc/apt/sources.list.d/docker.list > /dev/null \
|
|
&& apt update \
|
|
&& apt --yes --no-install-recommends install \
|
|
docker-ce-cli \
|
|
docker-compose-plugin \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& npm install pnpm -g \
|
|
&& pnpm install -g tsx
|