Verified Commit 2b14c92e authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Set POETRY_VIRTUALENVS_CREATE to false

parent 52177352
......@@ -4,6 +4,7 @@ LABEL description="Contains the Thaliawebsite dependencies"
ARG install_dev_requirements=1
ENV PATH /root/.poetry/bin:${PATH}
ENV POETRY_VIRTUALENVS_CREATE false
WORKDIR /usr/src/app/
......@@ -15,7 +16,6 @@ RUN apt-get update && \
rm --recursive --force /var/lib/apt/lists/* && \
\
curl --silent --show-error --location https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python && \
poetry config virtualenvs.create false && \
\
if [ "$install_dev_requirements" -eq 1 ]; then \
poetry install --no-interaction --extras "docs"; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment