Skip to content

Commit bc926fd

Browse files
fix: 修改Dockerfile启动命令以监听所有网络接口
1 parent ff9c8e8 commit bc926fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ RUN /venv/bin/pip install --no-cache-dir -r requirements.txt
2929

3030
# 暴露服务端口并设置默认启动命令
3131
EXPOSE 8188
32-
CMD ["/venv/bin/python3", "main.py"]
32+
CMD ["/venv/bin/python3", "main.py --listen 0.0.0.0"]

0 commit comments

Comments
 (0)