Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Revert "Override Docker ENTRYPOINT so that PID 1 inside…"
Browse files Browse the repository at this point in the history
This reverts commit 9f4d9aa.
  • Loading branch information
eyelidlessness committed Aug 21, 2023
1 parent df8057b commit 055d2f3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@ VOLUME ${ENKETO_SRC_DIR}/setup/docker/secrets

EXPOSE 8005

# Override the base image's ENTRYPOINT instead of passing arguments to it using
# CMD, and use the "exec form" to avoid spawning an intermediary shell.
# NB: Docker will not expand environment variables like ENKETO_SRC_DIR within
# the ENTRYPOINT instruction; see
# https://docs.docker.com/engine/reference/builder/#environment-replacement
ENTRYPOINT ["/srv/src/enketo_express/setup/docker/start.sh"]
CMD ${ENKETO_SRC_DIR}/setup/docker/start.sh

0 comments on commit 055d2f3

Please sign in to comment.