diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index 9b052bf..ed4ebac 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -24,11 +24,10 @@ ENV NODE_ENV=production \ default-Server-Media-tempFolder=/app/data/tmp \ # flagging dockerized environemnt PI_DOCKER=true -# command line arg orverride the config.json with these settings -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}"] + + # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible +ENTRYPOINT node ./src/backend/index --expose-gc --config-path=$CONFIG_FILE + EXPOSE 80 RUN apk add --update-cache --repository https://alpine.global.ssl.fastly.net/alpine/v3.11/community/ \ vips ffmpeg diff --git a/docker/debian-stretch/Dockerfile.build b/docker/debian-stretch/Dockerfile.build index bf501a1..9f0e52d 100644 --- a/docker/debian-stretch/Dockerfile.build +++ b/docker/debian-stretch/Dockerfile.build @@ -22,11 +22,10 @@ ENV NODE_ENV=production \ default-Server-Media-tempFolder=/app/data/tmp \ # flagging dockerized environemnt PI_DOCKER=true -# command line arg orverride the config.json with these settings -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}"] + + # after a extensive job (like video converting), pigallery calls gc, to clean up everthing as fast as possible +ENTRYPOINT node ./src/backend/index --expose-gc --config-path=$CONFIG_FILE + EXPOSE 80 RUN apt-get update && apt-get install -y ffmpeg COPY --from=builder /app /app