Spaces:
Runtime error
Runtime error
Download Dockerfile from lightspeed/grok-mirror: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/spaces/lightspeed/grok-mirror/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lightspeed/grok-mirror/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lightspeed/grok-mirror/resolve/main/Dockerfile
569 Bytes
| FROM dairoot/grok-gateway:latest as gateway | |
| FROM dairoot/cf5s:latest as cf5s | |
| FROM debian:bullseye-slim | |
| # Debug: Check the structure of base images | |
| RUN mkdir -p /app/gateway /app/cf5s | |
| COPY --from=gateway /app/* /app/gateway/ | |
| COPY --from=cf5s /app/* /app/cf5s/ | |
| # Debug: List contents to verify | |
| RUN ls -la /app/gateway && \ | |
| ls -la /app/cf5s | |
| COPY .env /app/.env | |
| COPY start.sh /app/start.sh | |
| WORKDIR /app | |
| # Make executables actually executable | |
| RUN find /app -type f -exec chmod +x {} \; && \ | |
| ls -la /app/gateway && \ | |
| ls -la /app/cf5s | |
| CMD ["/app/start.sh"] | |