Skip to content

Commit

Permalink
fix: restrict poetry version and return --no-dev flag from Dockerfile…
Browse files Browse the repository at this point in the history
… install command
  • Loading branch information
TanookiVerde committed Jan 8, 2025
1 parent b8984e7 commit 311ec4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

# Install virtualenv and create a virtual environment
RUN pip install --no-cache-dir -U poetry && \
RUN pip install --no-cache-dir -U "poetry<1.8.0" && \
poetry config virtualenvs.create false

# Copy the poetry.lock and pyproject.toml files
# and install dependencies
COPY poetry.lock pyproject.toml ./
RUN poetry install --no-interaction --no-ansi
RUN poetry install --no-dev --no-interaction --no-ansi

# Install dos2unix
RUN apt-get update && apt-get install -y dos2unix
Expand Down

0 comments on commit 311ec4a

Please sign in to comment.