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

Reviewed-on: #78
This commit was merged in pull request #78.
This commit is contained in:
2025-05-25 14:20:38 +02:00
parent a8e3332723
commit a82040720a
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"]