Browse Source

Update Dockerfile to Use Multiple Config Files (#4010)

pull/4012/head
lxsq 1 week ago committed by GitHub
parent
commit
48ac662298
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/docker/Dockerfile

2
.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

Loading…
Cancel
Save