first commit

This commit is contained in:
2026-06-18 17:08:26 +02:00
commit 2f5f37c7b4
20 changed files with 1717 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM golang:1.24-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY main.go ./
COPY static/ ./static/
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /server .
FROM scratch
COPY --from=build /server /server
EXPOSE 8080
ENTRYPOINT ["/server"]