File tree Expand file tree Collapse file tree 3 files changed +978
-552
lines changed Expand file tree Collapse file tree 3 files changed +978
-552
lines changed Original file line number Diff line number Diff line change 1- FROM node:16 as builder
1+ # ##############################################################
2+ FROM node:18 as builder
23
34COPY package.json yarn.lock ./
45RUN yarn
@@ -10,15 +11,13 @@ RUN yarn
1011RUN yarn build
1112
1213# ##############################################################
13-
1414FROM golang:1.18 as nodeprune
1515
1616# Build node-prune from source
1717RUN go install github.com/tj/node-prune@latest
1818
1919# ##############################################################
20-
21- FROM node:16 as dependencies
20+ FROM node:18 as dependencies
2221
2322ENV NODE_ENV production
2423COPY package.json yarn.lock ./
@@ -29,8 +28,7 @@ COPY --from=nodeprune /go/bin/node-prune /usr/local/bin/node-prune
2928RUN node-prune
3029
3130# ##############################################################
32-
33- FROM node:16-alpine as runtime
31+ FROM node:18-alpine as runtime
3432
3533ENV NODE_ENV production
3634
Original file line number Diff line number Diff line change 1818 "url" : " https://github.com/XVincentX/spectral-action/issues"
1919 },
2020 "engines" : {
21- "node" : " ^12.20 || >=14.13 "
21+ "node" : " ^18.18 || >= 20.17 "
2222 },
2323 "homepage" : " https://github.com/XVincentX/spectral-action#readme" ,
2424 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments