Download Dockerfile from moef788/mytest1: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/moef788/mytest1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/moef788/mytest1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/moef788/mytest1/resolve/main/Dockerfile
405 Bytes
| FROM alpine:latest | |
| RUN apk add --no-cache ca-certificates bash wget | |
| # دانلود هسته Xray | |
| RUN wget -qO /tmp/xray.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip && \ | |
| unzip /tmp/xray.zip -d /usr/local/bin/ && \ | |
| chmod +x /usr/local/bin/xray && \ | |
| rm /tmp/xray.zip | |
| COPY config.json /etc/xray/config.json | |
| CMD /usr/local/bin/xray -config /etc/xray/config.json |