File size: 405 Bytes
5792a65
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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