Update test WF

This commit is contained in:
2026-02-08 22:00:05 +05:30
parent 33d188cefc
commit 083898f042
12 changed files with 997 additions and 708 deletions

18
build/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.mod main.go ./
RUN CGO_ENABLED=0 go build -o server .
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/server /server
USER 65534:65534
EXPOSE 4050
ENTRYPOINT ["/server"]