Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -10,10 +10,10 @@ COPY . /app
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
RUN chmod -R a+w /usr/local/lib/python3.10/site-packages/hrequests/bin/
|
| 14 |
|
| 15 |
-
# Run the script to download NLTK data
|
| 16 |
-
RUN python /app/download_nltk_data.py
|
| 17 |
|
| 18 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 10 |
# Install any needed packages specified in requirements.txt
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
+
# RUN chmod -R a+w /usr/local/lib/python3.10/site-packages/hrequests/bin/
|
| 14 |
|
| 15 |
+
# # Run the script to download NLTK data
|
| 16 |
+
# RUN python /app/download_nltk_data.py
|
| 17 |
|
| 18 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
| 19 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|