Spaces:
Sleeping
Sleeping
Download Dockerfile from MissingBreath/SentimentAnalysis: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/spaces/MissingBreath/SentimentAnalysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MissingBreath/SentimentAnalysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MissingBreath/SentimentAnalysis/resolve/main/Dockerfile
356 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| ENV HF_HOME=/code/.cache/ | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| RUN gdown --folder 1fav3Drx5nynB_y04B7cJ8bj6H-2v3MGl | |
| RUN gdown --folder 1mGuBY69JhklMIoHCCJ00kL2lDgggovBY | |
| CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"] | |