Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|