Spaces:
Paused
Paused
Download Dockerfile from ep9io/rustpipe-preview: direct link, hf CLI and curl.
- Browser
- Download file 491 Bytes
-
https://huggingface.co/spaces/ep9io/rustpipe-preview/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ep9io/rustpipe-preview/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ep9io/rustpipe-preview/resolve/main/Dockerfile
491 Bytes
| FROM ghcr.io/ep9io/rustpipe:main | |
| ENV RUSTPIPE_LOG=DEBUG | |
| ENV RUSTPIPE_WORKSPACE_DIR=/workspace | |
| ENV RUSTPIPE_DATA_DIR=/data | |
| ENV PORT=7860 | |
| WORKDIR /workspace | |
| # Hugging Face Spaces runs as a non-root user (UID 1000). | |
| # The base image already creates a 'rustpipe' user with UID 1000, | |
| # but we ensure the workspace is writable by this user. | |
| USER root | |
| RUN chown -R 1000:1000 /workspace | |
| USER 1000 | |
| # clears the entrypoint from the base image | |
| ENTRYPOINT [] | |
| CMD rustpipe server --bind 0.0.0.0:7860 |