mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-01 15:19:05 +00:00
Changes to be committed:
modified: Dockerfile.local
This commit is contained in:
@@ -25,6 +25,9 @@ WORKDIR /home/worker/app
|
|||||||
COPY pyproject.toml poetry.lock ./
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
|
||||||
RUN poetry install --extras "ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
|
RUN poetry install --extras "ui embeddings-huggingface llms-llama-cpp vector-stores-qdrant"
|
||||||
|
# Added by me for testing
|
||||||
|
RUN poetry run python /scripts/setup
|
||||||
|
RUN CMAKE_ARGS="-DLLAMA_METAL=on" pip install --force-reinstall
|
||||||
|
|
||||||
FROM base as app
|
FROM base as app
|
||||||
|
|
||||||
@@ -46,7 +49,5 @@ COPY --chown=worker scripts/ scripts
|
|||||||
|
|
||||||
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
|
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
|
||||||
|
|
||||||
RUN poetry run python /scripts/setup
|
|
||||||
RUN CMAKE_ARGS="-DLLAMA_METAL=on" pip install --force-reinstall
|
|
||||||
USER worker
|
USER worker
|
||||||
ENTRYPOINT python -m private_gpt
|
ENTRYPOINT python -m private_gpt
|
Reference in New Issue
Block a user