# Dockerfile ... ENTRYPOINT ["/app/docker-entrypoint.sh"] # must be JSON-array form CMD ["/app/my-app"] # as before
# docker-entrypoint.sh #!/bin/sh set -e ... # Launch the main container command exec "$@"
set -e 와 exec "$@"에 대한 설명