FROM node:14.20.1-alpine3.15 WORKDIR /app COPY package*.json ./ RUN apk add --no-cache git make python2 python3 py3-pip g++ RUN npm i -g npm@9.1.1 RUN npm install --legacy-peer-deps COPY . . RUN npm run build --production RUN npm install -g serve EXPOSE 8445 CMD serve -p 8455 -s build