Spaces:
Runtime error
Runtime error
Download Dockerfile from WayScience/gene-dependency-explorer: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/WayScience/gene-dependency-explorer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/WayScience/gene-dependency-explorer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/WayScience/gene-dependency-explorer/resolve/main/Dockerfile
382 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv | |
| COPY pyproject.toml uv.lock ./ | |
| RUN uv sync --frozen --no-dev | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uv", "run", "streamlit", "run", "app.py", \ | |
| "--server.address", "0.0.0.0", \ | |
| "--server.port", "7860", \ | |
| "--server.headless", "true", \ | |
| "--server.fileWatcherType", "none"] | |