Skip to content

Commit

Permalink
Remove poetry artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Feb 27, 2025
1 parent 3a93c0c commit 4329a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ COPY pyproject.toml poetry.lock /app/
RUN \
poetry install && \
poetry run python -c 'import os, gliner; gliner.GLiNER.from_pretrained(os.getenv("GLINER_MODEL"))' && \
poetry cache clear --all ''
poetry cache clear --all '' && \
rm -rf /root/.cache/pypoetry/artifacts

COPY . /app

Expand Down

0 comments on commit 4329a62

Please sign in to comment.