Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -9,5 +9,5 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
9 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
10 |
|
11 |
COPY --chown=user . /app
|
12 |
-
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
9 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
10 |
|
11 |
COPY --chown=user . /app
|
12 |
+
CMD ["python", "-m" , "spacy", "download", "en_core_web_lg"]
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|