Spaces:
Running
Running
Download Dockerfile from ThinkcatLab/LiveHouse-TS: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/spaces/ThinkcatLab/LiveHouse-TS/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ThinkcatLab/LiveHouse-TS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ThinkcatLab/LiveHouse-TS/resolve/main/Dockerfile
1.19 kB
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_DISABLE_PIP_VERSION_CHECK=1 \ | |
| GRADIO_ANALYTICS_ENABLED=False LIVEHOUSE_CLOUD=1 \ | |
| HF_HOME=/app/.cache/huggingface MPLCONFIGDIR=/app/.cache/matplotlib | |
| RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* && useradd -m -u 1000 app | |
| WORKDIR /app | |
| COPY pyproject.toml ./ | |
| COPY src ./src | |
| COPY space/requirements.txt space/requirements.txt | |
| RUN pip install --no-cache-dir -e '.[leaderboard,dev]' -r space/requirements.txt && pip check | |
| COPY configs/tabpfn-requirements.txt configs/tabpfn-requirements.txt | |
| RUN python -m venv /app/.venv-tabpfn \ | |
| && /app/.venv-tabpfn/bin/pip install --no-cache-dir torch==2.8.0 --index-url https://download.pytorch.org/whl/cpu \ | |
| && /app/.venv-tabpfn/bin/pip install --no-cache-dir -r configs/tabpfn-requirements.txt \ | |
| && /app/.venv-tabpfn/bin/pip check | |
| COPY --chown=app:app . . | |
| RUN mkdir -p /app/.cache /app/.cloud-state /app/logs \ | |
| && chown -R app:app /app | |
| USER app | |
| # The adapter discovers .venv-tabpfn; the core interpreter remains separate. | |
| CMD ["/usr/local/bin/python", "cloud/entrypoint.py"] | |