Commit 31bd6dfc authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

docker: pre-download transformer weights

parent bf43415d
...@@ -28,6 +28,7 @@ WORKDIR /app/backend ...@@ -28,6 +28,7 @@ WORKDIR /app/backend
COPY ./backend/requirements.txt ./requirements.txt COPY ./backend/requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"
COPY ./backend . COPY ./backend .
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment