FROM node:15.14.0-buster WORKDIR /usr/app COPY . . RUN npm install RUN npm install pm2 -g ENV NODE_ENV=production ENV PORT=3000 EXPOSE 3000 CMD ["pm2-runtime","bin/www"]