RED-3800: change node version in docker
This commit is contained in:
parent
c01b4c86d0
commit
80db281d1a
@ -1,4 +1,4 @@
|
|||||||
FROM node:14.18-buster as prep
|
FROM node:18.12-buster as prep
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y jq
|
RUN apt-get update && apt-get install -y jq
|
||||||
COPY package.json /tmp
|
COPY package.json /tmp
|
||||||
@ -9,7 +9,7 @@ RUN jq '{ dependencies, devDependencies, peerDependencies, scripts: (.scripts |
|
|||||||
### STAGE 1: Build ###
|
### STAGE 1: Build ###
|
||||||
|
|
||||||
# We label our stage as ‘builder’
|
# We label our stage as ‘builder’
|
||||||
FROM node:14.18-buster as builder
|
FROM node:18.12-buster as builder
|
||||||
|
|
||||||
COPY --from=prep /tmp/deps.json ./package.json
|
COPY --from=prep /tmp/deps.json ./package.json
|
||||||
COPY yarn.lock ./
|
COPY yarn.lock ./
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user