Skip to content

Commit

Permalink
refactor(docker): update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Sep 15, 2024
1 parent a839c07 commit 1295faf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions train/extraction/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ ENV PATH=/root/.local/bin:$PATH \
RUN pip install --user "poetry==${POETRY_VERSION}"
RUN python -m venv /venv

COPY ./ ./

RUN ls -la
COPY poetry.lock pyproject.toml ./

# --sync Synchronize the environment with the locked packages and the specified groups
# --no-directory Do not install any directory path dependencies; useful to install dependencies without source code
# -n Do not ask any interactive question.
RUN . /venv/bin/activate && poetry install -n --sync --no-directory --no-root
RUN . /venv/bin/activate && poetry install -n --sync --no-directory --no-root && poetry run pip install setuptools


FROM base AS final
Expand Down

0 comments on commit 1295faf

Please sign in to comment.