x-ui/Dockerfile.release
Alireza Ahmadi 59b7e4b38b
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
CI: per-platform Go caches, Docker image from release binaries
2026-10-11 00:12:05 +02:00

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" ]