File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.17 AS BACK
1+ FROM golang:1.21.13 AS BACK
22WORKDIR /go/src/casnode
33COPY . .
4- RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOPROXY=https://goproxy.cn,direct go build -ldflags="-w -s" -o server . \
4+ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o server . \
55 && apt update && apt install wait-for-it && chmod +x /usr/bin/wait-for-it
66
7- FROM node:14.17.6 AS FRONT
7+ FROM node:18.19.0 AS FRONT
88WORKDIR /web
99COPY ./web .
10- RUN yarn config set registry https://registry.npmmirror.com
11- RUN yarn install && yarn run build
10+ RUN yarn install --frozen-lockfile --network-timeout 1000000 && NODE_OPTIONS="--max-old-space-size=4096" yarn run build
1211
1312FROM alpine:latest
1413RUN sed -i 's/https/http/' /etc/apk/repositories
You can’t perform that action at this time.
0 commit comments