Spaces:
Sleeping
Sleeping
Download Dockerfile from heeba001/afcon-topic-sentiment-api: direct link, hf CLI and curl.
- Browser
- Download file 190 Bytes
-
https://huggingface.co/spaces/heeba001/afcon-topic-sentiment-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/heeba001/afcon-topic-sentiment-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/heeba001/afcon-topic-sentiment-api/resolve/main/Dockerfile
190 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |