File size: 145 Bytes
eba1fac
6a4e5af
5c7e1e1
b2a1d71
6a4e5af
1
2
3
4
5
6
FROM teddysun/xray

RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
  cat /run/secrets/TROJAN_CONFIG > /etc/xray/config.json