update Dockerfile

This commit is contained in:
wyx2685
2025-03-07 00:38:36 +09:00
parent a63198c20b
commit fe896a61a3

View File

@@ -3,6 +3,7 @@ FROM golang:1.24.1-alpine AS builder
WORKDIR /app WORKDIR /app
COPY . . COPY . .
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
RUN git submodule update --init --recursive
RUN go mod download RUN go mod download
RUN go build -v -o V2bX -tags "sing xray hysteria2 with_reality_server with_quic with_grpc with_utls with_wireguard with_acme with_gvisor" RUN go build -v -o V2bX -tags "sing xray hysteria2 with_reality_server with_quic with_grpc with_utls with_wireguard with_acme with_gvisor"