Skip to content

Commit d3630c2

Browse files
committed
Use JSON array notation to run the node server
1 parent 19e0e36 commit d3630c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,6 @@ EXPOSE 3000
4949
ENV PORT=3000
5050
ENV HOSTNAME=0.0.0.0
5151

52-
# Run the app
53-
CMD HOSTNAME="0.0.0.0" node server.js
52+
# Run the app using JSON array notation
53+
CMD ["node", "server.js"]
54+
#CMD HOSTNAME="0.0.0.0" node server.js

0 commit comments

Comments
 (0)