diff --git a/Dockerfile b/Dockerfile index 70f8a56..ab3e49e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM node:18-alpine AS common + WORKDIR /app COPY package*.json ./ @@ -7,6 +8,9 @@ FROM common AS build RUN apk add python3 git make g++ linux-headers +# SIGH. https://github.com/npm/cli/issues/2774 +RUN npm install -g npm@'^6.4.11' + RUN npm install COPY . ./ RUN npm run build