Corran commited on
Commit
f95fad4
·
verified ·
1 Parent(s): 3514c63

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -37,5 +37,7 @@ WORKDIR $HOME/app
37
  # Copy files and set ownership
38
  COPY --chown=user . $HOME/app
39
 
 
 
40
  # Enable auto-reload using polling to ensure changes are detected
41
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
 
37
  # Copy files and set ownership
38
  COPY --chown=user . $HOME/app
39
 
40
+ RUN python3 -m spacy download en_core_web_sm
41
+
42
  # Enable auto-reload using polling to ensure changes are detected
43
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]