Skip to content

Commit

Permalink
Update Docker example to remove HOSTNAME (#54102)
Browse files Browse the repository at this point in the history
With the latest changes in stable Next.js setting HOSTNAME is not longer required for the image to function correctly πŸ‘ 

Fixes #54093
  • Loading branch information
timneutkens committed Aug 16, 2023
1 parent a6415c6 commit d60690e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/with-docker/Dockerfile
Expand Up @@ -55,6 +55,5 @@ USER nextjs
EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME localhost

CMD ["node", "server.js"]

0 comments on commit d60690e

Please sign in to comment.