mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
👷 Added Docker CI
This commit is contained in:
parent
f21904caf2
commit
efecdf5fd0
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,8 @@ COPY x-ui.sh /app/x-ui/x-ui.sh
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
wget \
|
wget \
|
||||||
unzip \
|
unzip \
|
||||||
|
tzdata \
|
||||||
|
ca-certificates \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
WORKDIR /app/x-ui/bin
|
WORKDIR /app/x-ui/bin
|
||||||
|
@ -49,7 +51,6 @@ RUN wget https://github.com/mhsanaei/Xray-core/releases/latest/download/Xray-lin
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN chmod +x /app/x-ui/x-ui.sh
|
RUN chmod +x /app/x-ui/x-ui.sh
|
||||||
RUN apt update && apt install tzdata ca-certificates
|
|
||||||
|
|
||||||
# Set the entrypoint
|
# Set the entrypoint
|
||||||
ENTRYPOINT ["/app/x-ui/xui-release"]
|
ENTRYPOINT ["/app/x-ui/xui-release"]
|
||||||
|
|
Loading…
Reference in a new issue