diff --git a/Dockerfile b/Dockerfile index 1b94fc9b4..5fd6d1ee8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## Install dev and compilation dependencies, build files -FROM node:20 as build +FROM node:20-slim as build WORKDIR /firefish # Install compilation dependencies @@ -48,11 +48,11 @@ RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pn RUN pnpm i --prod --frozen-lockfile ## Runtime container -FROM node:20 +FROM node:20-slim WORKDIR /firefish # Install runtime dependencies -RUN apt-get update && apt-get install -y libvips-dev zip unzip tini ffmpeg +RUN apt-get update && apt-get install -y --no-install-recommends libvips-dev zip unzip tini ffmpeg COPY . ./ diff --git a/docker-compose.yml b/docker-compose.yml index e40751300..ef31a0362 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,9 @@ version: "3" services: web: - image: registry.joinfirefish.org/firefish/firefish + # Choose one of these tags: + # stable-amd64, stable-arm64, beta-amd64, beta-arm64 + image: registry.joinfirefish.org/firefish/firefish:stable-amd64 container_name: firefish_web restart: unless-stopped depends_on: