🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick (#1355)
This commit is contained in:

committed by
GitHub

parent
7ed8694643
commit
c8104d8ced
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user