first commit

This commit is contained in:
2025-12-30 00:36:45 +04:00
commit ef2dd72d0d
6 changed files with 418 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM golang:1.25.5-alpine AS builder
WORKDIR /app
RUN --mount=type=bind,target=. CGO_ENABLED=0 go build -ldflags="-s -w" -o /server .
FROM scratch
COPY --from=builder /server /server
EXPOSE 8421
ENTRYPOINT ["/server"]