1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

improving docker build

This commit is contained in:
Patrik J. Braun 2020-02-08 12:19:53 +01:00
parent 58aa4a720d
commit 6be6dbf676
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ENV NODE_ENV=production \
ENTRYPOINT ["node", "./src/backend/index", \
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
"--expose-gc", \
"--config-path=$CONFIG_FILE"]
"--config-path=${CONFIG_FILE}"]
EXPOSE 80
RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.11/community/ \
vips ffmpeg

View File

@ -26,7 +26,7 @@ ENV NODE_ENV=production \
ENTRYPOINT ["node", "./src/backend/index", \
# after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible
"--expose-gc", \
"--config-path=$CONFIG_FILE"]
"--config-path=${CONFIG_FILE}"]
EXPOSE 80
RUN apt-get update && apt-get install -y ffmpeg
COPY --from=builder /app /app