Spaces:
Runtime error
Runtime error
Download Dockerfile from MissingBreath/Template-Project: direct link, hf CLI and curl.
- Browser
- Download file 295 Bytes
-
https://huggingface.co/spaces/MissingBreath/Template-Project/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MissingBreath/Template-Project/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MissingBreath/Template-Project/resolve/main/Dockerfile
295 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 1-2xLqBeuq6ypWyPEVdfslKU1GLgD9a1_ | |
| CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"] | |