Skip to content

Commit

Permalink
update: go version
Browse files Browse the repository at this point in the history
  • Loading branch information
DiniFarb committed Jan 14, 2025
1 parent bf94f2c commit ce3756b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.22 as builder
FROM golang:1.23 AS builder
RUN mkdir /build
COPY . /build/
WORKDIR /build
RUN CGO_ENABLED=0 GOOS=linux go build -buildvcs=false -a -o go-codewars .

FROM golang:1.22-alpine
FROM golang:1.23-alpine
COPY --from=builder /build/go-codewars .
COPY --from=builder /build/routes/assets ./routes/assets
EXPOSE 3000
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module dinifarb/codewars_readme_stats

go 1.22
go 1.23

require github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b

0 comments on commit ce3756b

Please sign in to comment.