muddasser commited on
Commit
4a7f02e
·
verified ·
1 Parent(s): c617ab5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -4,6 +4,7 @@ WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
 
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
  COPY requirements.txt .
@@ -13,7 +14,8 @@ RUN pip install --no-cache-dir -r requirements.txt \
13
  "websockets>=10.4" \
14
  spaces
15
 
16
- RUN python -m spacy download en_core_web_sm
 
17
 
18
  COPY . .
19
 
 
4
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
+ gcc \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  COPY requirements.txt .
 
14
  "websockets>=10.4" \
15
  spaces
16
 
17
+ RUN pip install --no-cache-dir \
18
+ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
19
 
20
  COPY . .
21