magicudapps commited on
Commit
1d2d5fc
1 Parent(s): 9d5afc1

chore: update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -19,6 +19,11 @@ RUN pip install --user pipenv
19
  RUN echo 'export PATH="/home/user/.local/bin:$PATH"' >> $HOME/.bashrc
20
  RUN . $HOME/.bashrc
21
  RUN pipenv install
 
 
 
 
 
22
 
23
  EXPOSE 7860
24
  CMD ["sh", "bin/hf-api-start.sh"]
 
19
  RUN echo 'export PATH="/home/user/.local/bin:$PATH"' >> $HOME/.bashrc
20
  RUN . $HOME/.bashrc
21
  RUN pipenv install
22
+ RUN pipenv shell
23
+ RUN python cli/downloader/vncorenlp_download.py
24
+ RUN python cli/downloader/stanza_download.py
25
+ RUN python cli/downloader/sentence_transformer_model_download.py BookingCare/multilingual-e5-base-v2
26
+ RUN python cli/downloader/sentence_transformer_model_download.py BookingCare/multilingual-e5-base-similarity-v1-onnx-quantized
27
 
28
  EXPOSE 7860
29
  CMD ["sh", "bin/hf-api-start.sh"]