Spaces:
Paused
Paused
Download Dockerfile from LevinAleksey/ray: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/LevinAleksey/ray/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LevinAleksey/ray/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LevinAleksey/ray/resolve/main/Dockerfile
300 Bytes
| FROM teddysun/xray:latest | |
| # Копируем конфиг (создадим его на следующем шаге) | |
| COPY config.json /etc/xray/config.json | |
| # HF Spaces слушает на порту 7860 по умолчанию | |
| EXPOSE 7860 | |
| CMD ["/usr/bin/xray", "-config", "/etc/xray/config.json"] |