FROM node:20-alpine WORKDIR /backend RUN apk add --no-cache curl COPY package*.json . RUN npm ci COPY . . RUN npm run build CMD ["node", "dist/main"]