FROM golang:1.25 # go.mod for v2fly/domain-list-community requires go >= 1.25.12. # Using this version directly avoids relying on Go's automatic toolchain # download at build time. WORKDIR /work COPY build.sh /work/build.sh COPY data-custom /work/data-custom RUN chmod +x /work/build.sh ENTRYPOINT ["/work/build.sh"]