First commit, done on M6 from the PLAN.MD

This commit is contained in:
gauvainboiche
2026-10-25 17:34:44 +01:00
parent d5dc2a3901
commit 04193e2013
86 changed files with 8396 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM golang:1.23-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY server ./server
COPY web ./web
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/game ./server
FROM gcr.io/distroless/static
COPY --from=build /out/game /game
EXPOSE 8080
ENTRYPOINT ["/game"]