完善docker网络部分

This commit is contained in:
小贺
2025-09-02 23:08:08 +08:00
parent e54db74be5
commit db673b4698
2 changed files with 1 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ FROM python:3.11-slim
WORKDIR /app
# 安装依赖
RUN pip install --no-cache-dir fastapi==0.115.8 uvicorn[standard]==0.34.4 python-multipart
RUN pip install --no-cache-dir fastapi==0.115.8 uvicorn[standard]==0.34.3 python-multipart
# 复制代码
COPY . .

View File

@@ -16,8 +16,6 @@ services:
build:
context: ./backend
dockerfile: dockerfile
ports:
- "5000:5000"
networks:
- app-network