FROM node:18-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm install COPY .env . COPY . . CMD ["npm", "run", "build"]