initial commit

This commit is contained in:
Daniel Noulet 2026-10-07 15:03:50 +02:00
commit 23816d00f7
71 changed files with 14497 additions and 0 deletions

18
backend/Dockerfile Normal file
View file

@ -0,0 +1,18 @@
# Development image for the Go backend. `docker-compose up` bind-mounts the
# source and runs `go run main.go`, so this image only needs the toolchain.
FROM golang:1.27-alpine
RUN apk add --no-cache git ca-certificates tzdata wget
ENV CGO_ENABLED=0 \
GOFLAGS=-mod=mod
WORKDIR /app/backend
# Warm the module cache before the bind mount replaces the working directory.
COPY go.mod ./
RUN go mod download || true
EXPOSE 8080
CMD ["go", "run", "main.go", "-addr", "0.0.0.0:8080"]