Download Dockerfile from Mhammadreza1371/shadow-intelligence-api: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/spaces/Mhammadreza1371/shadow-intelligence-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mhammadreza1371/shadow-intelligence-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mhammadreza1371/shadow-intelligence-api/resolve/main/Dockerfile
289 Bytes
| FROM python:3.9-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir -r /code/requirements.txt | |
| COPY . . | |
| # پورت ۷۸۶۰ پورت استاندارد هاگینگ فیس است | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |