mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
👷 Added Docker CI
This commit is contained in:
parent
77692e0298
commit
c727b81772
@ -1,8 +1,7 @@
|
|||||||
# Use the official Golang image as the base image
|
# Use the official Golang image as the base image
|
||||||
FROM golang:1.20 as builder
|
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
|
FROM golang:1.20 as builder
|
||||||
|
|
||||||
# Set up the working directory
|
# Set up the working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -49,6 +48,7 @@ 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 install tzdata ca-certificates
|
||||||
|
|
||||||
# Set the entrypoint
|
# Set the entrypoint
|
||||||
ENTRYPOINT ["/app/x-ui/x-ui.sh"]
|
ENTRYPOINT ["/app/x-ui/xui-release"]
|
||||||
|
Loading…
Reference in New Issue
Block a user