fix(docker): disable auto-creation of virtualenv inside container

This commit is contained in:
Luke Tainton 2024-11-24 10:31:49 +00:00
parent ebca87230a
commit 6cac9dc9c2
No known key found for this signature in database

View File

@ -12,7 +12,9 @@ RUN mkdir -p /.local && \
COPY pyproject.toml /run/pyproject.toml
COPY poetry.lock /run/poetry.lock
RUN poetry install --without dev
RUN poetry config virtualenvs.create false && \
poetry install --without dev
ENTRYPOINT ["python3", "-B", "-m", "app.main"]