Skip to content

Commit 062008d

Browse files
authored
upgrade node image from 14 to 18 (readmeio#189)
1 parent 72ea746 commit 062008d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

integrations/node.Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14-alpine
1+
FROM node:18-alpine
22

33
COPY integrations/https-cert/rootCA.pem /root/integration-test.pem
44

@@ -14,12 +14,9 @@ ADD package.json /src/
1414

1515
# https://www.npmjs.com/package/axios
1616
# https://www.npmjs.com/package/request
17-
RUN npm install axios request
18-
1917
# Installing node-fetch@2 because as of 3.0 is't now an ESM-only package.
2018
# https://www.npmjs.com/package/node-fetch
21-
RUN npm install node-fetch@2
22-
23-
RUN npm install
19+
RUN npm install axios request node-fetch@2 && \
20+
npm install
2421

2522
ADD . /src

0 commit comments

Comments
 (0)