From bbae975128a0867b4a661aba790f462eb4b75c46 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 26 Oct 2024 00:10:33 +0200 Subject: [PATCH] again a fix for linting --- docker/alpine/Dockerfile.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index 16024b5e..169b13e9 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -2,9 +2,9 @@ #----------------------------------------- FROM node:18-alpine3.17 AS builder RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \ - python3 build-base sqlite-dev sqlite-libs imagemagick-dev libraw-dev vips-dev vips-heif vips-magick fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python -COPY pigallery2-release /app -RUN rm /var/cache/apk/* + python3 build-base sqlite-dev sqlite-libs imagemagick-dev libraw-dev vips-dev vips-heif vips-magick fftw-dev gcc g++ make libc6-compat && ln -snf /usr/bin/python3 /usr/bin/python && \ + rm /var/cache/apk/* + COPY pigallery2-release /app WORKDIR /app RUN npm install --unsafe-perm --fetch-timeout=90000 RUN mkdir -p /app/data/config && \ @@ -28,9 +28,9 @@ ENV NODE_ENV=production \ EXPOSE 80 RUN apk add --no-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.17/community/ \ - vips vips-cpp vips-heif vips-magick ffmpeg + vips vips-cpp vips-heif vips-magick ffmpeg && \ + rm /var/cache/apk/* COPY --from=builder /app /app -RUN rm /var/cache/apk/* # Run build time diagnostics to make sure the app would work after build is finished RUN ["node", "./src/backend/index", "--expose-gc", "--run-diagnostics", "--config-path=/app/diagnostics-config.json", "--Server-Log-level=silly"]