mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 03:13:32 +02:00
Update Dockerfile to Use Multiple Config Files (#4010)
This commit is contained in:
parent
1a238cbb7d
commit
48ac662298
1 changed files with 1 additions and 1 deletions
2
.github/docker/Dockerfile
vendored
2
.github/docker/Dockerfile
vendored
|
@ -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…
Reference in a new issue