FROM node:18-alpine WORKDIR /src COPY . . RUN rm -rf node_modules RUN npm install --legacy-peer-deps RUN npm run build RUN npm install pm2 -g