From c364e92c59bdbca50b4a258c9056d85d05d74e1a Mon Sep 17 00:00:00 2001 From: Athira Sabu <102021496+AsabuHere@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:32:45 +0530 Subject: [PATCH] fix: Update Dockerfile with node version which has security support as of now (#996) * Update Dockerfile with latest node version which has support --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e40055454b..948b471e99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:20 RUN mkdir /twilio WORKDIR /twilio @@ -10,7 +10,7 @@ COPY spec ./spec COPY examples ./examples COPY index.* package.json babel.config.js tsconfig.json ./ -RUN npm config set unsafe-perm true # Needed to run prepublish as root. +RUN npm install --unsafe-perm true # Needed to run prepublish as root. RUN npm install . --include=dev RUN npm install -g .