Skip to content

Commit

Permalink
Merge pull request #22 from codeinuit/feat/update-go-version-1-21
Browse files Browse the repository at this point in the history
update go version to 1.21
  • Loading branch information
codeinuit authored Feb 11, 2024
2 parents f788267 + 8f5a788 commit 4e02d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 4e02d62

Please sign in to comment.