v1.3.0-beta.0

This commit is contained in:
Alireza Ahmadi
2025-05-29 23:55:48 +02:00
parent 6c97ad8871
commit 596dc8a884
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ WORKDIR /app
COPY frontend/ ./
RUN npm install && npm run build
FROM golang:1.23-alpine AS backend-builder
FROM golang:1.24-alpine AS backend-builder
WORKDIR /app
ARG TARGETARCH
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
@@ -12,7 +12,7 @@ ENV GOARCH=$TARGETARCH
RUN apk update && apk --no-cache --update add build-base gcc wget unzip
COPY . .
COPY --from=front-builder /app/dist/ /app/web/html/
RUN go build -ldflags="-w -s" -tags "with_quic,with_grpc,with_ech,with_utls,with_reality_server,with_acme,with_gvisor" -o sui main.go
RUN go build -ldflags="-w -s" -tags "with_quic,with_grpc,with_utls,with_acme,with_gvisor" -o sui main.go
FROM --platform=$TARGETPLATFORM alpine
LABEL org.opencontainers.image.authors="alireza7@gmail.com"