Skip to content

Commit

Permalink
Dockerfile: Don't set HOSTNAME in CMD, fixes #4682
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeseWang committed May 15, 2024
1 parent d411159 commit ea1bb54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ COPY --from=builder /app/.next/server ./.next/server
EXPOSE 3000

CMD if [ -n "$PROXY_URL" ]; then \
export HOSTNAME="0.0.0.0"; \
protocol=$(echo $PROXY_URL | cut -d: -f1); \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
port=$(echo $PROXY_URL | cut -d: -f3); \
Expand Down

0 comments on commit ea1bb54

Please sign in to comment.