Spaces:
Paused
Paused
File size: 348 Bytes
ede5281 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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"] |