From 70b8b2aaca72a5f67b33cdb5611ba195fdac1382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Tue, 9 May 2023 19:25:33 +0800 Subject: [PATCH] refactor(dockerfile): set entrypoint --- .github/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/docker/Dockerfile b/.github/docker/Dockerfile index 36f356f8..ad1e8c3d 100644 --- a/.github/docker/Dockerfile +++ b/.github/docker/Dockerfile @@ -18,4 +18,5 @@ RUN set -ex \ VOLUME /etc/xray ENV TZ=Asia/Shanghai -CMD [ "/usr/bin/xray", "-config", "/etc/xray/config.json" ] \ No newline at end of file +ENTRYPOINT [ "/usr/bin/xray" ] +CMD [ "-config", "/etc/xray/config.json" ]