This commit is contained in:
Hk-Gosuto 2024-04-02 16:25:17 +08:00
parent c74c0ac8e8
commit 4262434e74
1 changed files with 1 additions and 1 deletions

View File

@ -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); \