mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-10 03:47:32 +00:00
Do NOT copy markdown files
I doubt anyone reads a markdown file within a Docker image
This commit is contained in:
parent
a773e1324d
commit
50903b9358
@ -34,11 +34,11 @@ RUN mkdir models; chown worker models
|
||||
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|
||||
COPY --chown=worker private_gpt/ private_gpt
|
||||
COPY --chown=worker fern/ fern
|
||||
COPY --chown=worker *.yaml *.md ./
|
||||
COPY --chown=worker *.yaml .
|
||||
COPY --chown=worker scripts/ scripts
|
||||
COPY --chown=worker Makefile .
|
||||
|
||||
ENV PYTHONPATH="$PYTHONPATH:/private_gpt/"
|
||||
|
||||
USER worker
|
||||
ENTRYPOINT python -m private_gpt
|
||||
ENTRYPOINT python -m private_gpt
|
||||
|
@ -44,7 +44,7 @@ RUN mkdir models; chown worker models
|
||||
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|
||||
COPY --chown=worker private_gpt/ private_gpt
|
||||
COPY --chown=worker fern/ fern
|
||||
COPY --chown=worker *.yaml *.md ./
|
||||
COPY --chown=worker *.yaml ./
|
||||
COPY --chown=worker scripts/ scripts
|
||||
COPY --chown=worker Makefile .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user