mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-30 23:06:18 +00:00
add x-ui script to docker
This commit is contained in:
parent
0385048b38
commit
4aa6052c9f
1 changed files with 3 additions and 1 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue