Spaces:
Runtime error
Runtime error
Download Dockerfile from Akbartus/FastAPIExample: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/Akbartus/FastAPIExample/resolve/e1a9d6679aeeccb7abba33f8b3271539b2ca100a/Dockerfile
- Command line
-
hf download hf://spaces/Akbartus/FastAPIExample@e1a9d6679aeeccb7abba33f8b3271539b2ca100a/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Akbartus/FastAPIExample/resolve/e1a9d6679aeeccb7abba33f8b3271539b2ca100a/Dockerfile
224 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |