Forráskód Böngészése

修改部署文件

xueyiming 2 hete
szülő
commit
780c7682e8
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -3,7 +3,8 @@ FROM python:3.12-slim
 WORKDIR /app
 
 COPY requirements.txt ./
-RUN pip install --no-cache-dir -r requirements.txt
+RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
+    && pip install --no-cache-dir -r requirements.txt
 
 COPY app ./app
 COPY .env ./.env