Skip to content

Commit

Permalink
πŸ’š ci: move hostname from CMD to ENV
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
  • Loading branch information
mhkarimi1383 committed Jun 7, 2024
1 parent fba430a commit d09d3d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ USER nextjs
EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME "0.0.0.0"

CMD HOSTNAME="0.0.0.0" node server.js
CMD node server.js

0 comments on commit d09d3d7

Please sign in to comment.