Skip to content

Commit

Permalink
try adding poetry.lock to speed up docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed May 18, 2022
1 parent c56e5b4 commit 86c9bcb
Show file tree
Hide file tree
Showing 3 changed files with 1,887 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ipython_config.py
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
poetry.lock
# poetry.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-demo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ RUN pip install poetry
WORKDIR /code

COPY pyproject.toml /code/
COPY poetry.lock /code/
RUN poetry config virtualenvs.create false && poetry install --no-dev --no-interaction --no-ansi

COPY demo/server/requirements.txt /code/
Expand Down
Loading

0 comments on commit 86c9bcb

Please sign in to comment.