Spaces:
Paused
Paused
Download Dockerfile from mehr4n-m/raysonbits-dc: direct link, hf CLI and curl.
- Browser
- Download file 438 Bytes
-
https://huggingface.co/spaces/mehr4n-m/raysonbits-dc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mehr4n-m/raysonbits-dc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mehr4n-m/raysonbits-dc/resolve/main/Dockerfile
438 Bytes
| FROM debian:bookworm-slim | |
| ENV XRAY_VERSION=v26.3.27 | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends \ | |
| ca-certificates bash curl wget unzip openssl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY setup.sh /tmp/setup.sh | |
| COPY config.json /etc/xray/g2ray.json | |
| RUN chmod +x /tmp/setup.sh \ | |
| && /tmp/setup.sh \ | |
| && rm /tmp/setup.sh | |
| EXPOSE 7860 | |
| CMD ["/usr/local/bin/xray", "run", "-c", "/etc/xray/g2ray.json"] | |