Download Dockerfile from CreationGeneration/avani-cloud-sentinel: direct link, hf CLI and curl.
- Browser
- Download file 2.49 kB
-
https://huggingface.co/spaces/CreationGeneration/avani-cloud-sentinel/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CreationGeneration/avani-cloud-sentinel/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CreationGeneration/avani-cloud-sentinel/resolve/main/Dockerfile
2.49 kB
| FROM node:22-slim | |
| LABEL maintainer="FUTRON Neural Network" | |
| LABEL description="AVANI Cloud Sentinel β HuggingFace Spaces deployment with Supabase channel bus" | |
| WORKDIR /app | |
| # βββ System Dependencies βββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| jq \ | |
| unzip \ | |
| python3 \ | |
| python3-pip \ | |
| procps \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # βββ AWS CLI v2 (for S3 brain sync) ββββββββββββββββββββββββββββββββββββββββββ | |
| RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ | |
| && unzip awscliv2.zip \ | |
| && ./aws/install \ | |
| && rm -rf awscliv2.zip aws/ \ | |
| && apt-get purge -y unzip && apt-get autoremove -y | |
| # βββ OpenClaw Gateway ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| RUN npm install -g openclaw@latest | |
| # βββ Directory Structure βββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| RUN mkdir -p /root/.openclaw/workspace \ | |
| /root/.openclaw/logs \ | |
| /root/.openclaw/state \ | |
| /root/.openclaw/credentials \ | |
| /root/.openclaw/bus/outbox \ | |
| /root/.openclaw/bus/inbox | |
| # βββ Copy Configuration & Scripts ββββββββββββββββββββββββββββββββββββββββββββ | |
| COPY hf-openclaw.json /root/.openclaw/openclaw.json | |
| COPY hf-entrypoint.sh /app/hf-entrypoint.sh | |
| COPY supabase-bridge.py /app/supabase-bridge.py | |
| COPY suppress-mdns.js /app/suppress-mdns.js | |
| RUN chmod +x /app/hf-entrypoint.sh | |
| # βββ HF Spaces requires port 7860 βββββββββββββββββββββββββββββββββββββββββββ | |
| EXPOSE 7860 | |
| # βββ Health Check (HTTP via health proxy on port 7860) ββ | |
| HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ | |
| CMD curl -sf http://localhost:7860/health > /dev/null || exit 1 | |
| # Ensure short hostname for mDNS compatibility (HF container hostnames exceed 63 bytes) | |
| RUN echo "avani" > /etc/hostname | |
| ENTRYPOINT ["/app/hf-entrypoint.sh"] | |