trojan / Dockerfile
wsj1995's picture
Update Dockerfile
634f6ca verified
raw
history blame
172 Bytes
FROM ghcr.io/xtls/xray-core:latest
RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
/bin/sh -c cat /run/secrets/TROJAN_CONFIG > /etc/xray/config.json