feat: upgrade to Node.js 18 and Go 1.20 in Dockerfile

This commit is contained in:
Yang Luo 2023-12-22 14:46:41 +08:00
parent 02329d342a
commit 141f22a707

View File

@ -1,10 +1,10 @@
FROM node:16.18.0 AS FRONT
FROM node:18.19.0 AS FRONT
WORKDIR /web
COPY ./web .
RUN yarn install --frozen-lockfile --network-timeout 1000000 && yarn run build
FROM golang:1.19.9 AS BACK
FROM golang:1.20.12 AS BACK
WORKDIR /go/src/casdoor
COPY . .
RUN ./build.sh