From c727b817723fae11daf7b5f10791a3501b0dcddb Mon Sep 17 00:00:00 2001 From: itspooya Date: Mon, 8 May 2023 01:59:07 +0330 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Added=20Docker=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file 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"]