Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 committed Aug 29, 2023
1 parent 25b83bd commit 352c0c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

COPY pyproject.toml ./

RUN pip install torch --index-url https://download.pytorch.org/whl/cpu
RUN pip install sentence_transformers --no-cache-dir
RUN pip install --no-cache-dir poetry \
&& poetry export -f requirements.txt --without-hashes -o requirements.txt \
Expand Down

0 comments on commit 352c0c6

Please sign in to comment.