Spaces:
Sleeping
Sleeping
Download Dockerfile from stpete2/square_fastapi: direct link, hf CLI and curl.
- Browser
- Download file 180 Bytes
-
https://huggingface.co/spaces/stpete2/square_fastapi/resolve/94dea2cfbe79b1e33eab991d0b255982a08a6ae3/Dockerfile
- Command line
-
hf download hf://spaces/stpete2/square_fastapi@94dea2cfbe79b1e33eab991d0b255982a08a6ae3/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stpete2/square_fastapi/resolve/94dea2cfbe79b1e33eab991d0b255982a08a6ae3/Dockerfile
180 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |