Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -13,6 +13,10 @@ ENV HF_HOME=/app/cache \
|
|
13 |
COPY requirements.txt .
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
|
|
|
|
|
|
16 |
COPY . .
|
17 |
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
13 |
COPY requirements.txt .
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
+
RUN python -m nltk.downloader -d /app/nltk_data punkt
|
17 |
+
|
18 |
+
|
19 |
COPY . .
|
20 |
|
21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
22 |
+
|