Spaces:
Paused
Paused
Download Dockerfile from mesherher/entrypoint: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/mesherher/entrypoint/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mesherher/entrypoint/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mesherher/entrypoint/resolve/main/Dockerfile
421 Bytes
| FROM louislam/uptime-kuma:2 | |
| # Install dependencies for HF CLI and cron | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends curl cron && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Install HF CLI | |
| RUN curl -LsSf https://hf.co/cli/install.sh | bash -s | |
| ENV PATH="/root/.local/bin:$PATH" | |
| # Copy entrypoint | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| EXPOSE 3001 | |
| ENTRYPOINT ["/entrypoint.sh"] | |