🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick (#1355)

This commit is contained in:
Sebastián Ramírez
2024-09-23 13:39:54 +02:00
committed by GitHub
parent 7ed8694643
commit c8104d8ced
3 changed files with 1 additions and 10 deletions

View File

@@ -11,9 +11,7 @@ RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python
# Copy poetry.lock* in case it doesn't exist in the repo
COPY ./pyproject.toml ./poetry.lock* /app/
# Allow installing dev dependencies to run tests
ARG INSTALL_DEV=false
RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --only main ; fi"
RUN poetry install --no-root
ENV PYTHONPATH=/app