Spaces:
Sleeping
Sleeping
Download Dockerfile from stasaking/blood-brain-api: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/stasaking/blood-brain-api/resolve/793dca4dc97378e0957dd2dc1e9c6ad3dd93d2f7/Dockerfile
- Command line
-
hf download hf://spaces/stasaking/blood-brain-api@793dca4dc97378e0957dd2dc1e9c6ad3dd93d2f7/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stasaking/blood-brain-api/resolve/793dca4dc97378e0957dd2dc1e9c6ad3dd93d2f7/Dockerfile
202 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn duckdb pyarrow huggingface_hub | |
| COPY main.py . | |
| COPY start.sh . | |
| RUN chmod +x start.sh | |
| EXPOSE 7860 | |
| CMD ["./start.sh"] | |