diff --git a/Dockerfile b/Dockerfile index 7da3a7b..da3594c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ARG NODE_ENV=production RUN yarn build # STEP 1: Compile backend -FROM golang:1.20 AS builder +FROM golang:1.22 AS builder WORKDIR /usr/src/jury # Copy over the app diff --git a/dev.Dockerfile b/dev.Dockerfile index 992edb2..3e8b11f 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 +FROM golang:1.22 WORKDIR /jury RUN curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin diff --git a/server/go.mod b/server/go.mod index 7c7aed4..031edf9 100644 --- a/server/go.mod +++ b/server/go.mod @@ -1,6 +1,6 @@ module server -go 1.20 +go 1.22 require ( github.com/bytedance/sonic v1.10.1 // indirect