Spaces:
Paused
Paused
Download Dockerfile from sharktide/IPXML-FireNet: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/sharktide/IPXML-FireNet/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sharktide/IPXML-FireNet/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sharktide/IPXML-FireNet/resolve/main/Dockerfile
368 Bytes
| FROM rust:latest | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| RUN git clone https://github.com/sharktide/ipxml | |
| WORKDIR ipxml | |
| RUN cargo build | |
| RUN target/debug/ipxml cc --ipxml examples/FireNet/app.ipxml --out model.ipxmodel.import | |
| CMD ["target/debug/ipxml", "run", "model.ipxmodel.import", "--serve", "--port", "7860"] |