Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e03454c3..33909aaf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,6 +34,8 @@ COPY x-ui.sh /app/x-ui/x-ui.sh
RUN apt-get update && apt-get install -y \
wget \
unzip \
+ tzdata \
+ ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app/x-ui/bin
@@ -49,7 +51,6 @@ RUN wget https://github.com/mhsanaei/Xray-core/releases/latest/download/Xray-lin
WORKDIR /app
RUN chmod +x /app/x-ui/x-ui.sh
-RUN apt update && apt install tzdata ca-certificates
# Set the entrypoint
ENTRYPOINT ["/app/x-ui/xui-release"]