Skip to content

Commit

Permalink
Update Dockerfile to Use Multiple Config Files (#4010)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsq authored Nov 12, 2024
1 parent 1a238cb commit 48ac662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 48ac662

Please sign in to comment.