Selaa lähdekoodia

Removing pip from final image

Penta 1 kuukausi sitten
vanhempi
sitoutus
da919f43e7
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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