更新python后端
This commit is contained in:
+1
-2
@@ -30,8 +30,7 @@ RUN pip install --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple -r re
|
||||
# 复制项目代码
|
||||
COPY app/ .
|
||||
|
||||
# 对外暴露端口(FastAPI 默认 8000)
|
||||
EXPOSE 8000
|
||||
EXPOSE 13011
|
||||
|
||||
# 启动命令(使用 uvicorn 启动 FastAPI)
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "13011"]
|
||||
|
||||
Reference in New Issue
Block a user