diff --git a/Dockerfile b/Dockerfile index ec0495c..76240b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -FROM golang:1.20-alpine AS build +FROM golang:1.21-alpine AS build # Install necessary packages including CA certificates RUN apk --no-cache add ca-certificates tzdata git curl @@ -19,7 +19,7 @@ COPY . . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /app cmd/server/main.go # Development Stage -FROM golang:1.20-alpine AS development +FROM golang:1.21-alpine AS development # Install air for live reload and other dev tools RUN go install github.com/cosmtrek/air@latest