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