bhuvan-2005 commited on
Commit
d396dfe
·
verified ·
1 Parent(s): d47c53f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -19,8 +19,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
 
 
 
22
  COPY . .
23
 
24
  EXPOSE 7860
25
 
26
- CMD ["python", "-m", "app.main"]
 
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
 
22
+ # Download spaCy model
23
+ RUN python -m spacy download en_core_web_sm
24
+
25
  COPY . .
26
 
27
  EXPOSE 7860
28
 
29
+ CMD ["python", "-m", "app.main"]