Files
realDynDNS/Dockerfile
Timo Behrendt 40a41ce7ca
All checks were successful
CD / test (push) Successful in 48s
CD / Build and push (push) Successful in 2m47s
fix: align go version of modfile with dockerfile (#18)
Reviewed-on: #18
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
2024-12-27 12:32:51 +01:00

14 lines
132 B
Docker

FROM golang:1.20-alpine
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o main .
CMD ["./main"]