Fix PYTHONPATH value

This commit is contained in:
Quentin McGaw 2024-03-25 11:15:07 +00:00
parent 50903b9358
commit 96e5caebca
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ COPY --chown=worker *.yaml .
COPY --chown=worker scripts/ scripts
COPY --chown=worker Makefile .
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
ENV PYTHONPATH="$PYTHONPATH:/home/worker/app/private_gpt/"
USER worker
ENTRYPOINT python -m private_gpt

View File

@ -48,7 +48,7 @@ COPY --chown=worker *.yaml ./
COPY --chown=worker scripts/ scripts
COPY --chown=worker Makefile .
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
ENV PYTHONPATH="$PYTHONPATH:/home/worker/app/private_gpt/"
USER worker
ENTRYPOINT python -m private_gpt