mirror of
https://github.com/alireza0/x-ui.git
synced 2026-10-21 11:11:47 +00:00
Some checks failed
Release X-UI / build (386) (push) Has been cancelled
Release X-UI / build (amd64) (push) Has been cancelled
Release X-UI / build (arm64) (push) Has been cancelled
Release X-UI / build (armv5) (push) Has been cancelled
Release X-UI / build (armv6) (push) Has been cancelled
Release X-UI / build (armv7) (push) Has been cancelled
Release X-UI / build (s390x) (push) Has been cancelled
Release X-UI / Build for Windows (push) Has been cancelled
Test / test (push) Has been cancelled
Release X-UI / Docker image (push) Has been cancelled
16 lines
502 B
Text
16 lines
502 B
Text
# Packages the binaries the release workflow already built (see the docker job
|
|
# in .github/workflows/release.yml); the build context holds one directory per
|
|
# platform. To build the image from source, use Dockerfile.
|
|
FROM alpine
|
|
LABEL org.opencontainers.image.authors="alireza7@gmail.com"
|
|
ENV TZ=Asia/Tehran
|
|
WORKDIR /app
|
|
|
|
RUN apk add --no-cache ca-certificates tzdata libcap nftables
|
|
|
|
ARG TARGETARCH
|
|
ARG TARGETVARIANT
|
|
COPY ${TARGETARCH}${TARGETVARIANT}/ /app/
|
|
|
|
VOLUME [ "/etc/x-ui" ]
|
|
CMD [ "./x-ui" ]
|