Spaces:
Sleeping
Sleeping
Download Dockerfile from stasaking/blood-brain-api: direct link, hf CLI and curl.
- Browser
- Download file 243 Bytes
-
https://huggingface.co/spaces/stasaking/blood-brain-api/resolve/684e090ae57f3478c468521ea942e5bdfeb2fae1/Dockerfile
- Command line
-
hf download hf://spaces/stasaking/blood-brain-api@684e090ae57f3478c468521ea942e5bdfeb2fae1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/stasaking/blood-brain-api/resolve/684e090ae57f3478c468521ea942e5bdfeb2fae1/Dockerfile
243 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir fastapi uvicorn duckdb pyarrow | |
| COPY main.py . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1", "--timeout-keep-alive", "5"] | |