Skip to content

Commit

Permalink
chore: Remove npm start from Dockerfile and add docker_entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed May 17, 2024
1 parent dd3d1f6 commit d94d678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ EXPOSE 3000

HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:3000 || exit 1

ENTRYPOINT ["npm", "start"]
2 changes: 2 additions & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
npm start

0 comments on commit d94d678

Please sign in to comment.