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

Revert "Override Docker ENTRYPOINT…" #582

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading