chore: update Dockerfile to set HOST to 0.0.0.0 and reduce WORKERS to 1

This commit is contained in:
Lan
2026-01-27 10:37:17 +08:00
parent 0109099167
commit 7f6aa3a14c
+2 -2
View File
@@ -39,9 +39,9 @@ COPY --from=frontend-builder /build/fronted-2023/dist ./themes/2023
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
# 环境变量配置 # 环境变量配置
ENV HOST="::" \ ENV HOST="0.0.0.0" \
PORT=12345 \ PORT=12345 \
WORKERS=2 \ WORKERS=1 \
LOG_LEVEL="info" LOG_LEVEL="info"
EXPOSE 12345 EXPOSE 12345