Selaa lähdekoodia

Update Dockerfile to Use Multiple Config Files (#4010)

lxsq 11 kuukautta sitten
vanhempi
sitoutus
48ac662298
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      .github/docker/Dockerfile

+ 1 - 1
.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