Explorar el Código

Removing pip from final image

Penta hace 1 mes
padre
commit
da919f43e7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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