Do NOT copy markdown files

I doubt anyone reads a markdown file within a Docker image
This commit is contained in:
Quentin McGaw 2024-03-25 11:08:35 +00:00
parent a773e1324d
commit 50903b9358
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 .