chore: use reliable ENV and CMD directives in Dockerfile

This commit is contained in:
Jason Fraley 2026-05-18 17:26:41 -04:00 committed by GitHub
parent 64af53361a
commit d0974f0d8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,4 +68,5 @@ ENV PORT 3000
# server.js is created by next build from the standalone output # server.js is created by next build from the standalone output
# https://nextjs.org/docs/pages/api-reference/next-config-js/output # https://nextjs.org/docs/pages/api-reference/next-config-js/output
CMD HOSTNAME="0.0.0.0" node server.js ENV HOSTNAME="0.0.0.0"
CMD ["node", "server.js"]