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