mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-18 07:26:51 +00:00
Add --no-root
flag to poetry install commands
This commit is contained in:
parent
2bbb1b26db
commit
371df0fd8e
@ -14,7 +14,7 @@ WORKDIR /home/worker/app
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
|
||||
ARG POETRY_EXTRAS="ui vector-stores-qdrant llms-ollama embeddings-ollama"
|
||||
RUN poetry install --extras "${POETRY_EXTRAS}"
|
||||
RUN poetry install --no-root --extras "${POETRY_EXTRAS}"
|
||||
|
||||
FROM base as app
|
||||
ENV \
|
||||
|
@ -24,7 +24,7 @@ WORKDIR /home/worker/app
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
|
||||
ARG POETRY_EXTRAS="ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
|
||||
RUN poetry install --extras "${POETRY_EXTRAS}"
|
||||
RUN poetry install --no-root --extras "${POETRY_EXTRAS}"
|
||||
|
||||
FROM base as app
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user