refactor(dockerfile): set entrypoint

This commit is contained in:
藍+85CD 2023-05-09 19:25:33 +08:00 committed by yuhan6665
parent ecedc51173
commit 70b8b2aaca
1 changed files with 2 additions and 1 deletions

View File

@ -18,4 +18,5 @@ RUN set -ex \
VOLUME /etc/xray
ENV TZ=Asia/Shanghai
CMD [ "/usr/bin/xray", "-config", "/etc/xray/config.json" ]
ENTRYPOINT [ "/usr/bin/xray" ]
CMD [ "-config", "/etc/xray/config.json" ]