fix: Fix venv issue with Docker build on Google Cloud

See also https://stackoverflow.com/a/70340377
This commit is contained in:
Reinier van der Leer
2023-11-30 18:39:42 +01:00
parent 3ad7a2cfaa
commit 207201d907

View File

@@ -26,6 +26,7 @@ ENV PIP_NO_CACHE_DIR=yes \
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="$POETRY_HOME/bin:$PATH"
RUN poetry config installer.max-workers 10
RUN poetry config virtualenvs.path /venv
WORKDIR /app
COPY pyproject.toml poetry.lock ./