Skip to content

Commit

Permalink
docker # set hostname to localhost
Browse files Browse the repository at this point in the history
ENV HOSTNAME "0.0.0.0"
  • Loading branch information
Dominic Wrege committed Sep 22, 2023
1 parent 580dc96 commit 0e2867b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ USER nextjs

EXPOSE 3000

ENV HOSTNAME localhost
# set hostname to localhost
ENV HOSTNAME "0.0.0.0"

ENV PORT 3000
ENV NEXT_SHARP_PATH /node_modules/sharp

Expand Down

0 comments on commit 0e2867b

Please sign in to comment.