From 4aa6052c9f6fd2ec55fce99c7c492bf13a90f955 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:10:51 +0430 Subject: [PATCH] add x-ui script to docker --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba2a1dc0..9e30d9f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,7 @@ RUN apk add --no-cache --update \ COPY --from=builder /app/build/ /app/ COPY --from=builder /app/DockerEntrypoint.sh /app/ +COPY --from=builder /app/x-ui.sh /usr/bin/x-ui # Configure fail2ban RUN rm -f /etc/fail2ban/jail.d/alpine-ssh.conf \ @@ -39,7 +40,8 @@ RUN rm -f /etc/fail2ban/jail.d/alpine-ssh.conf \ RUN chmod +x \ /app/DockerEntrypoint.sh \ - /app/x-ui + /app/x-ui \ + /usr/bin/x-ui VOLUME [ "/etc/x-ui" ] ENTRYPOINT [ "/app/DockerEntrypoint.sh" ]