mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-20 08:23:12 +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 ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
|
||||||
ARG POETRY_EXTRAS="ui vector-stores-qdrant llms-ollama embeddings-ollama"
|
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
|
FROM base as app
|
||||||
ENV \
|
ENV \
|
||||||
|
@ -24,7 +24,7 @@ WORKDIR /home/worker/app
|
|||||||
COPY pyproject.toml poetry.lock ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
|
||||||
ARG POETRY_EXTRAS="ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
|
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
|
FROM base as app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user