Skip to content

Commit

Permalink
Fix: Dockerfile not stopping on Ctrl-C
Browse files Browse the repository at this point in the history
  • Loading branch information
ivard committed Dec 1, 2023
1 parent 39dce87 commit 7e65462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ COPY --from=javabuild /app/build/libs/irma_email_issuer-1.1.0.war /usr/local/tom
EXPOSE 8080

# Copy the config file to the webapp. This is done at runtime so that the config file can be mounted as a volume.
CMD [ "/bin/sh", "-c", "for lang in 'en' 'nl'; do cp /config/config.js /usr/local/tomee/webapps/ROOT/$lang/assets/config.js; done && catalina.sh run" ]
CMD [ "/bin/sh", "-c", "for lang in 'en' 'nl'; do cp /config/config.js /usr/local/tomee/webapps/ROOT/$lang/assets/config.js; done && exec catalina.sh run" ]

0 comments on commit 7e65462

Please sign in to comment.