-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use node as first process in Docker container (#1965)
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ ENV SERVER_PORT 80 | |
# Export listening port | ||
EXPOSE 80 | ||
|
||
CMD ["npm" ,"run", "start:prod"] | ||
CMD ["node", "index.js"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,4 @@ ENV SERVER_PORT 80 | |
# Export listening port | ||
EXPOSE 80 | ||
|
||
CMD ["npm" ,"run", "start:prod"] | ||
CMD ["node", "index.js"] |