update pip along with requirements

This commit is contained in:
2022-07-13 21:16:07 +02:00
parent f79698bd55
commit b4f4e4e0cd

View File

@@ -2,6 +2,7 @@ FROM python:3.10-alpine
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
WORKDIR /code/ WORKDIR /code/
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir --requirement requirements.txt RUN pip install --upgrade pip && \
pip install --no-cache-dir --requirement requirements.txt
COPY . . COPY . .
ENTRYPOINT ["./entrypoint.sh"] ENTRYPOINT ["./entrypoint.sh"]