Skip to content

Commit

Permalink
Revert "Use CMD alongside ENTRYPOINT in the Dockerfile (Koenkk#3366)" (
Browse files Browse the repository at this point in the history
…Koenkk#3389)

This reverts commit d193673.
  • Loading branch information
Koenkk authored Apr 18, 2020
1 parent 2177b33 commit 9d6c7b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ ARG COMMIT
RUN echo "{\"hash\": \"$COMMIT\"}" > .hash.json

ENTRYPOINT ["./run.sh"]
CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ if [ ! -f "$DATA/configuration.yaml" ]; then
cp /app/configuration.yaml "$DATA/configuration.yaml"
fi

exec "$@"
exec npm start

0 comments on commit 9d6c7b2

Please sign in to comment.