update dependency versions

This commit is contained in:
2023-01-27 22:52:05 -03:00
parent 38e306a903
commit bdca6a6ab1
3 changed files with 18 additions and 17 deletions

View File

@@ -1,11 +1,11 @@
FROM golang:1.18.5 AS builder
FROM golang:1.19.5 AS builder
WORKDIR /usr/src/app
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
RUN go build -buildvcs=false -v -o /usr/local/bin/ ./...
FROM golang:1.18.5
FROM golang:1.19.5
WORKDIR /usr/local/bin
COPY --from=builder /usr/local/bin/backend .
COPY .env /usr/local/bin