File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
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
You can’t perform that action at this time.
0 commit comments