From 8a9b092134ef8255695bd162f3a0e9f258d8cf72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20=C3=96zdin=C3=A7er?= Date: Thu, 21 Oct 2021 13:18:23 +0300 Subject: [PATCH] Add pip upgrade command Add pip upgrade command to avoid getting error while docker-compose build phase. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 495b5ae..d8116c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1 RUN mkdir -p /fastapi-admin WORKDIR /fastapi-admin COPY pyproject.toml poetry.lock /fastapi-admin/ +RUN pip install --upgrade pip RUN pip3 install poetry ENV POETRY_VIRTUALENVS_CREATE false RUN poetry install --no-root