aamirtaymoor commited on
Commit
5154115
·
verified ·
1 Parent(s): fbb64ce

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -6,6 +6,10 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
 
 
 
 
9
  COPY . .
10
 
11
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.4.1/en_core_web_sm-3.4.1.tar.gz
10
+
11
+ RUN git clone https://github.com/facebookresearch/fastText.git && cd fastText && pip install .
12
+
13
  COPY . .
14
 
15
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]