FROM node:alpine ARG PORT ENV PORT=$PORT COPY . . RUN npm install && npm run build CMD ["node", "dist/main.js"] EXPOSE $PORT