1
0
Quellcode durchsuchen

Removing pip from final image

Penta vor 1 Monat
Ursprung
Commit
da919f43e7
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -12,6 +12,7 @@ RUN pip install --prefix=/install -r requirements.txt
 # ---------- RUNTIME STAGE ----------
 FROM python:3.14-alpine
 
+RUN python3 -m pip uninstall pip -y
 RUN apk add mariadb-connector-c
 
 COPY --from=builder /install /usr/local