FROM alpine USER root COPY config.json /etc/xray/config.json RUN apk update \ && apk add --no-cache ca-certificates busybox \ && update-ca-certificates \ && busybox wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-linux-64.zip \ && busybox mkdir -p /var/log/v2ray \ && busybox unzip Xray-linux-64.zip ENTRYPOINT ["./xray", "-c", "/etc/xray/config.json"]