mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-31 06:35:17 +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 ./
|
||||
|
||||
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
|
||||
|
||||
@@ -46,7 +49,5 @@ COPY --chown=worker scripts/ scripts
|
||||
|
||||
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
|
||||
|
||||
RUN poetry run python /scripts/setup
|
||||
RUN CMAKE_ARGS="-DLLAMA_METAL=on" pip install --force-reinstall
|
||||
USER worker
|
||||
ENTRYPOINT python -m private_gpt
|
Reference in New Issue
Block a user