Add gitea workflow (#78)
All checks were successful
Backend Build and Test / build (push) Successful in 2m9s
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:
14
backend/Dockerfile
Normal file
14
backend/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user