diff options
| author | itspooya <fallenangel201190@yahoo.com> | 2023-05-08 01:29:07 +0300 |
|---|---|---|
| committer | Ho3ein <ho3ein.sanaei@gmail.com> | 2023-05-08 09:34:47 +0300 |
| commit | c727b817723fae11daf7b5f10791a3501b0dcddb (patch) | |
| tree | 377febd50b9d6d064c4b4b3c96a9e0d298025b85 /Dockerfile | |
| parent | 77692e029846df3808d8865a9b3e2ec6f67ba218 (diff) | |
👷 Added Docker CI
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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"] |
