Spaces:
Sleeping
Sleeping
| FROM python:3.12-slim AS base | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir uv | |
| WORKDIR /pulse | |
| RUN git clone --branch hf-space --single-branch https://github.com/elidek-themis/pulse.git . | |
| RUN uv sync | |
| EXPOSE 8501 | |
| HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health | |
| ENTRYPOINT [".venv/bin/pulse", "--server.port=8501", "--server.address=0.0.0.0"] |