This commit is contained in:
oneao committed 2026-04-02 17:24:43 +08:00
1 parent 9e00adf2fe
commit ae0d245605
34 files changed
+1460 -162

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
FROM golang:1.25.3 AS builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -o app ./cmd/main.go
FROM alpine:3.19
WORKDIR /app
COPY --from=builder /app/app .
CMD ["./app"]