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:
authoritspooya <fallenangel201190@yahoo.com>2023-05-08 01:29:07 +0300
committerHo3ein <ho3ein.sanaei@gmail.com>2023-05-08 09:34:47 +0300
commitc727b817723fae11daf7b5f10791a3501b0dcddb (patch)
tree377febd50b9d6d064c4b4b3c96a9e0d298025b85 /Dockerfile
parent77692e029846df3808d8865a9b3e2ec6f67ba218 (diff)
👷 Added Docker CI
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 310dbf21..db57b16c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,7 @@
# Use the official Golang image as the base image
-FROM golang:1.20 as builder
-
ARG TARGETARCH
ARG TARGETOS
+FROM golang:1.20 as builder
# Set up the working directory
WORKDIR /app
@@ -49,6 +48,7 @@ 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 install tzdata ca-certificates
# Set the entrypoint
-ENTRYPOINT ["/app/x-ui/x-ui.sh"]
+ENTRYPOINT ["/app/x-ui/xui-release"]