FROM node:alpine WORKDIR /app ENV PATH /app/node_modules/.bin:$PATH COPY package*.json ./ RUN npm install -g npm@8.19.2 && npm config rm proxy && npm config rm https-proxy RUN npm install COPY . . RUN npm run build EXPOSE 3000 CMD npm run start