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"]