From 8f5a788159d3194ffbaf27f3570030881d08146c Mon Sep 17 00:00:00 2001 From: "Lucas D (inu)" Date: Sun, 11 Feb 2024 16:44:42 +0100 Subject: [PATCH] update go version to 1.21 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8db200..47bfe13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM golang:1.19 AS build +FROM golang:1.21 AS build WORKDIR $GOPATH/src/github.com/codeinuit/shibesbot COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o app ./cmd/shibesbot -FROM alpine:latest +FROM alpine:3.19 WORKDIR /root/ COPY --from=build /go/src/github.com/codeinuit/shibesbot/app . ENTRYPOINT ["./app"]