Skip to content

Commit 0504e6e

Browse files
committed
chore: update Dockerfile to set HOST to 0.0.0.0 and reduce WORKERS to 1
1 parent 24d49e1 commit 0504e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ COPY --from=frontend-builder /build/fronted-2023/dist ./themes/2023
3939
RUN pip install --no-cache-dir -r requirements.txt
4040

4141
# 环境变量配置
42-
ENV HOST="::" \
42+
ENV HOST="0.0.0.0" \
4343
PORT=12345 \
44-
WORKERS=2 \
44+
WORKERS=1 \
4545
LOG_LEVEL="info"
4646

4747
EXPOSE 12345

0 commit comments

Comments
 (0)