Spaces:
Sleeping
Sleeping
Download Dockerfile from Hanuman2/API_SERVER: direct link, hf CLI and curl.
- Browser
- Download file 213 Bytes
-
https://huggingface.co/spaces/Hanuman2/API_SERVER/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Hanuman2/API_SERVER/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hanuman2/API_SERVER/resolve/main/Dockerfile
213 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| RUN pip install fastapi uvicorn httpx | |
| COPY app.py . | |
| # Hugging Face Spaces 7860 पोर्ट का उपयोग करता है | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |