Skip to content

Commit

Permalink
examples: fix ENV warning for Docker example (#69091)
Browse files Browse the repository at this point in the history
Co-authored-by: Bhavya031 <2021003493.adit@cvmu.edu.in>
Co-authored-by: Lee Robinson <me@leerob.io>
  • Loading branch information
3 people authored Aug 26, 2024
1 parent fbeeb11 commit 854a7db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/with-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ ENV PORT=3000

# server.js is created by next build from the standalone 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"]

0 comments on commit 854a7db

Please sign in to comment.