Skip to content

Commit

Permalink
Fix startup command to propagate OS signals
Browse files Browse the repository at this point in the history
Remove redundant shell command (implicit from using shell form of `CMD`)
and use exec to run supervisord.

Issue: CLDSRV-597
  • Loading branch information
francoisferrand committed Dec 19, 2024
1 parent fd143c1 commit 1114fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/federation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ ENV S3_CONFIG_FILE=${CONF_DIR}/config.json
ENV S3_LOCATION_FILE=${CONF_DIR}/locationConfig.json
EXPOSE 8000

CMD bash -c "source ${CONF_DIR}/env && export && supervisord -c ${CONF_DIR}/supervisord.conf"
CMD [ "/bin/bash", "-c", "source ${CONF_DIR}/env && export && exec supervisord -c ${CONF_DIR}/supervisord.conf" ]
ENTRYPOINT []

0 comments on commit 1114fa3

Please sign in to comment.