Changes to be committed:

modified:   Dockerfile.local
	modified:   docker-compose.yaml
This commit is contained in:
vinnimous 2024-03-19 16:34:25 -04:00
parent aace6b0aa5
commit bf89c93461
2 changed files with 5 additions and 3 deletions

View File

@ -46,5 +46,7 @@ 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

View File

@ -1,9 +1,9 @@
services:
private-gpt:
image: allfunc/privategpt:latest
# image: allfunc/privategpt:latest
# build:
# dockerfile: Dockerfile.local
build:
dockerfile: Dockerfile.local
volumes:
- /srv/dev-disk-by-uuid-17681c56-e3a1-4eb9-95da-2196a64acca3/configs/privateGPT/local_data/conf:/home/worker/app/local_data