From 4262434e74b1b73a23d9f50924a7427ce5688b0e Mon Sep 17 00:00:00 2001 From: Hk-Gosuto Date: Tue, 2 Apr 2024 16:25:17 +0800 Subject: [PATCH] fix: #238 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fe8cda0f1..a6faf008c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ COPY --from=builder /app/.next/server ./.next/server EXPOSE 3000 CMD if [ -n "$PROXY_URL" ]; then \ - export HOSTNAME="127.0.0.1"; \ + unset HOSTNAME; \ protocol=$(echo $PROXY_URL | cut -d: -f1); \ host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \ port=$(echo $PROXY_URL | cut -d: -f3); \