diff --git a/Dockerfile b/Dockerfile index e40055454..948b471e9 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 .