diff --git a/docker/debian-stretch/Dockerfile.build b/docker/debian-stretch/Dockerfile.build index 9f0e52d6..081afd09 100644 --- a/docker/debian-stretch/Dockerfile.build +++ b/docker/debian-stretch/Dockerfile.build @@ -23,8 +23,6 @@ ENV NODE_ENV=production \ # flagging dockerized environemnt PI_DOCKER=true - # 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 @@ -33,3 +31,7 @@ VOLUME ["/app/data/config", "/app/data/db", "/app/data/images", "/app/data/tmp"] HEALTHCHECK --interval=40s --timeout=30s --retries=3 --start-period=60s \ CMD wget --quiet --tries=1 --no-check-certificate --spider \ http://localhost:80/heartbeat || exit 1 + +# 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"] +