修复工作
This commit is contained in:
@@ -45,5 +45,5 @@ EXPOSE 8000
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
||||
CMD curl -f http://localhost:8000/health || exit 1
|
||||
|
||||
# 启动应用
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "1"]
|
||||
# 启动应用(只监听本地,外网无法访问)
|
||||
CMD ["uvicorn", "app.main:app", "--host", "127.0.0.1", "--port", "8000", "--workers", "1"]
|
||||
Reference in New Issue
Block a user