Spaces:
Build error
Build error
Download Dockerfile from minhtudragon/headroom_3: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/16d1d82ffe6b9732c4c459fa42c7119dc06293df/Dockerfile
- Command line
-
hf download hf://spaces/minhtudragon/headroom_3@16d1d82ffe6b9732c4c459fa42c7119dc06293df/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/minhtudragon/headroom_3/resolve/16d1d82ffe6b9732c4c459fa42c7119dc06293df/Dockerfile
362 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends curl build-essential g++ && rm -rf /var/lib/apt/lists/* | |
| COPY . /app | |
| WORKDIR /app | |
| RUN pip install -e .[proxy] | |
| EXPOSE 8787 | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:8787/health || exit 1 | |
| ENTRYPOINT ["headroom", "proxy"] |