chore: use reliable ENV and CMD directives in Dockerfile
This commit is contained in:
parent
64af53361a
commit
d0974f0d8c
1 changed files with 2 additions and 1 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue