fix: 清除运行时代理环境变量(构建时代理不应泄漏到运行时)
This commit is contained in:
+4
-1
@@ -95,7 +95,10 @@ RUN mkdir -p /home/appuser/.social-mcp \
|
||||
USER appuser
|
||||
|
||||
# Environment defaults
|
||||
ENV NODE_ENV=production \
|
||||
# Clear proxy env from build stage (must not leak into runtime)
|
||||
ENV HTTP_PROXY= \
|
||||
HTTPS_PROXY= \
|
||||
NODE_ENV=production \
|
||||
HOST=0.0.0.0 \
|
||||
PORT=3000 \
|
||||
HEADLESS=true \
|
||||
|
||||
Reference in New Issue
Block a user