Spaces:
Paused
Paused
Download Dockerfile from Erantaylor/best: direct link, hf CLI and curl.
- Browser
- Download file 348 Bytes
-
https://huggingface.co/spaces/Erantaylor/best/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Erantaylor/best/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Erantaylor/best/resolve/main/Dockerfile
348 Bytes
| FROM alpine:latest | |
| WORKDIR /app | |
| RUN apk add --no-cache wget unzip | |
| RUN wget -O xray.zip https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip | |
| RUN unzip xray.zip && rm xray.zip | |
| RUN chmod +x xray | |
| COPY config.json /app/config.json | |
| RUN chown -R 1000:1000 /app | |
| USER 1000 | |
| EXPOSE 7860 | |
| CMD ["./xray", "run", "-c", "config.json"] |