mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
Make packages optional (#15727)
So we don't have to instruct people to modify the Dockerfile every time they delete the packages directory. See: https://stackoverflow.com/questions/70096208/dockerfile-copy-folder-if-it-exists-conditional-copy/70096420#70096420 Tested on a new repo
This commit is contained in:
parent
3a8ad90509
commit
04caf07dee
@ -8,7 +8,7 @@ WORKDIR /code
|
|||||||
|
|
||||||
COPY ./pyproject.toml ./README.md ./poetry.lock* ./
|
COPY ./pyproject.toml ./README.md ./poetry.lock* ./
|
||||||
|
|
||||||
COPY ./packages ./packages
|
COPY ./package[s] ./packages
|
||||||
|
|
||||||
RUN poetry install --no-interaction --no-ansi --no-root
|
RUN poetry install --no-interaction --no-ansi --no-root
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user