Spaces:
Running
Running
Download Dockerfile from Paper2Agent/scanpy_mcp: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/Paper2Agent/scanpy_mcp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Paper2Agent/scanpy_mcp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Paper2Agent/scanpy_mcp/resolve/main/Dockerfile
433 Bytes
| FROM python:3.12 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN mkdir -p /tmp/numba_cache && chmod -R 777 /tmp/numba_cache | |
| ENV NUMBA_CACHE_DIR=/tmp/numba_cache | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY scanpy_mcp.py . | |
| COPY tools/ tools/ | |
| RUN mkdir -p /app/data/upload /data/tmp_inputs /data/tmp_outputs && chmod -R 777 /app/data/upload /data | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "scanpy_mcp:app", "--host", "0.0.0.0", "--port", "7860"] |