remove pip from final container

This commit is contained in:
Alex
2024-05-01 14:11:16 +01:00
parent 784206b39b
commit ab40d2c37a

View File

@@ -34,7 +34,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
FROM ubuntu:mantic as final
# Install Python
RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3-pip && \
RUN apt-get update && apt-get install -y --no-install-recommends python3.11 gunicorn && \
ln -s /usr/bin/python3.11 /usr/bin/python && \
rm -rf /var/lib/apt/lists/*