Spaces:
No application file
No application file
Download backend.Dockerfile from PranavReddy18/BioRAG: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/PranavReddy18/BioRAG/resolve/main/backend.Dockerfile
- Command line
-
hf download hf://spaces/PranavReddy18/BioRAG/backend.Dockerfile
-
curl -L -o backend.Dockerfile https://huggingface.co/spaces/PranavReddy18/BioRAG/resolve/main/backend.Dockerfile
262 Bytes
| # Dockerfile.backend | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY main.py . | |
| COPY data /app/data | |
| EXPOSE 2000 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "2000"] | |