Download Dockerfile from kubrabuzlu/SentimentAndIntentionAnalysis: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/kubrabuzlu/SentimentAndIntentionAnalysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kubrabuzlu/SentimentAndIntentionAnalysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kubrabuzlu/SentimentAndIntentionAnalysis/resolve/main/Dockerfile
274 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN mkdir -p /.cache && chmod -R a+w /.cache | |
| COPY . . | |
| CMD ["uvicorn", "src.api:app", "--host", "0.0.0.0", "--port", "7860"] | |