Skip to content

Commit

Permalink
Upgrade golang version to build image
Browse files Browse the repository at this point in the history
  • Loading branch information
ResamVi committed Aug 25, 2023
1 parent c680b99 commit ab0bd64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/fetch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang
FROM golang:1.21

RUN mkdir /app
WORKDIR /app
ADD . .
RUN go build -o main fetch/main.go

CMD ["./main"]
CMD ["./main"]

0 comments on commit ab0bd64

Please sign in to comment.