Spaces:
Runtime error
Runtime error
Delete Dockerfile
Browse files- Dockerfile +0 -16
Dockerfile
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
FROM python:3.9-slim
|
| 2 |
-
WORKDIR /app
|
| 3 |
-
|
| 4 |
-
# Copy code
|
| 5 |
-
COPY . /app
|
| 6 |
-
|
| 7 |
-
# Install dependencies and download spaCy model
|
| 8 |
-
RUN pip install --upgrade pip \
|
| 9 |
-
&& pip install -r app/requirements.txt \
|
| 10 |
-
&& python -m spacy download en_core_web_sm
|
| 11 |
-
|
| 12 |
-
# Expose the port that Hugging Face Spaces uses (7860)
|
| 13 |
-
EXPOSE 7860
|
| 14 |
-
|
| 15 |
-
# Run the FastAPI app via Uvicorn
|
| 16 |
-
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|