Fix PYTHONPATH value

This commit is contained in:
Quentin McGaw 2024-03-25 11:15:07 +00:00
parent 53f8cc7f88
commit 9b28cb7167
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

@ -49,7 +49,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