Download Dockerfile from dirk1983/v2ray: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/dirk1983/v2ray/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dirk1983/v2ray/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dirk1983/v2ray/resolve/main/Dockerfile
318 Bytes
| FROM python:3.9 | |
| USER root | |
| RUN apt-get update && apt-get install -y caddy v2ray vim tmate openssh-client curl && rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -s /bin/bash -u 1000 dirk | |
| USER dirk | |
| ENV PATH="/home/dirk/.local/bin:$PATH" | |
| WORKDIR /app | |
| COPY --chown=dirk . /app | |
| RUN chmod +x /app/start.sh | |
| CMD ["/app/start.sh"] | |