update docker and release workflow

This commit is contained in:
Alireza Ahmadi
2025-01-06 00:09:15 +01:00
parent 8073e8ab0a
commit e92cf56557
5 changed files with 6 additions and 135 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ ENV GOARCH=$TARGETARCH
RUN apk update && apk --no-cache --update add build-base gcc wget unzip
COPY backend/ ./
COPY --from=front-builder /app/dist/ /app/web/html/
RUN go build -ldflags="-w -s" -o sui main.go
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
FROM --platform=$TARGETPLATFORM alpine
LABEL org.opencontainers.image.authors="alireza7@gmail.com"