Add gitea workflow
All checks were successful
Backend Build and Test / build (push) Successful in 2m6s

This commit is contained in:
2025-05-25 14:13:40 +02:00
parent a8e3332723
commit aba4f850b7
3 changed files with 63 additions and 0 deletions

14
backend/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM golang:1.24.2-alpine3.21
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY migrations ./migrations/
COPY *.go ./
COPY *.gohtml ./
RUN go build -o /allowance_planner
EXPOSE 8080
ENV GIN_MODE=release
CMD ["/allowance_planner"]