Skip to content

Commit

Permalink
Use node as first process in Docker container (#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
cicoub13 authored Dec 7, 2023
1 parent bfbf817 commit 1956b16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ ENV SERVER_PORT 80
# Export listening port
EXPOSE 80

CMD ["npm" ,"run", "start:prod"]
CMD ["node", "index.js"]
2 changes: 1 addition & 1 deletion docker/Dockerfile.buildx
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ ENV SERVER_PORT 80
# Export listening port
EXPOSE 80

CMD ["npm" ,"run", "start:prod"]
CMD ["node", "index.js"]

0 comments on commit 1956b16

Please sign in to comment.