Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
FROM teddysun/xray
|
2 |
|
3 |
RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
|
4 |
-
|
5 |
|
|
|
1 |
FROM teddysun/xray
|
2 |
|
3 |
RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
|
4 |
+
cat /run/secrets/TROJAN_CONFIG > /etc/xray/config.json
|
5 |
|