From eb5b8440eec5989893ae730a0d46bb01a8c1af4d Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Fri, 21 May 2021 08:35:11 +0800 Subject: [PATCH] fix: env asset path of xray --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 63cd9a2..dfc8d49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ FROM alpine COPY ["./load.sh", "./tproxy.sh", "/etc/xray/"] COPY --from=asset /tmp/asset/ /etc/xray/asset/ COPY --from=asset /tmp/xray/xray /usr/bin/ +ENV XRAY_LOCATION_ASSET=/etc/xray/asset RUN apk --update add --no-cache iptables ip6tables && \ mkdir -p /etc/xray/conf && \ mkdir -p /etc/xray/expose/log && \