Spaces:
Running
Running
Download Dockerfile from shaktideadmin/shaktide-api: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/shaktideadmin/shaktide-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shaktideadmin/shaktide-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shaktideadmin/shaktide-api/resolve/main/Dockerfile
350 Bytes
| FROM python:3.10-slim | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |