Skip to content

Commit 0e13db9

Browse files
committed
updates ENTRYPOINT and CMD to allow for flexibility at runtime.
1 parent 7a3dd03 commit 0e13db9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,8 @@ ARG FRONTEND_SERVICE_PORT
7676
ENV HOSTNAME=$FRONTEND_SERVICE_INTERFACE
7777
ENV PORT=$FRONTEND_SERVICE_PORT
7878

79-
CMD ["node", "server.js"]
79+
# executable that will run the application
80+
ENTRYPOINT ["node"]
81+
82+
# default args to the ENTRYPOINT that can be overridden at runtime
83+
CMD ["server.js"]

0 commit comments

Comments
 (0)