From 48ac662298283f15e116c84143289976b57e5bd1 Mon Sep 17 00:00:00 2001 From: lxsq <98205617+lxsq@users.noreply.github.com> Date: Tue, 12 Nov 2024 23:41:42 +0800 Subject: [PATCH] Update Dockerfile to Use Multiple Config Files (#4010) --- .github/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/docker/Dockerfile b/.github/docker/Dockerfile index 31139529..c32bb844 100644 --- a/.github/docker/Dockerfile +++ b/.github/docker/Dockerfile @@ -22,7 +22,7 @@ VOLUME /etc/xray ARG TZ=Asia/Shanghai ENV TZ=$TZ ENTRYPOINT [ "/usr/bin/xray" ] -CMD [ "-config", "/etc/xray/config.json" ] +CMD [ "-confdir", "/etc/xray/" ] ARG flavor=v2fly COPY --from=build --chmod=644 /$flavor /usr/share/xray