Spaces:
Sleeping
Sleeping
Download Dockerfile from Shivpratap46/Recall_Backend: direct link, hf CLI and curl.
- Browser
- Download file 441 Bytes
-
https://huggingface.co/spaces/Shivpratap46/Recall_Backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Shivpratap46/Recall_Backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Shivpratap46/Recall_Backend/resolve/main/Dockerfile
441 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt ./requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY main.py ./main.py | |
| VOLUME ["/app/.recall_data"] | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |