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" ]