chore: update Dockerfile to set HOST to 0.0.0.0 and reduce WORKERS to 1
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user