presidio commited on
Commit
15ad962
1 Parent(s): c312584

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,8 +11,8 @@ WORKDIR /code
11
  COPY ./requirements.txt /code/requirements.txt
12
 
13
  RUN pip3 install -r requirements.txt
14
- CMD python -m spacy download en_core_web_sm
15
- CMD python -m spacy download en_core_web_lg
16
  EXPOSE 7860
17
 
18
  COPY . /code
 
11
  COPY ./requirements.txt /code/requirements.txt
12
 
13
  RUN pip3 install -r requirements.txt
14
+ RUN pip3 install https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
15
+ RUN pip3 install https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl
16
  EXPOSE 7860
17
 
18
  COPY . /code