FROM node:20-alpine WORKDIR /usr/src/app COPY package*.json ./ RUN npm install COPY . . EXPOSE 8080 RUN npm run build CMD ["npm", "run", "dist"]