FROM node:20-alpine WORKDIR /app COPY web/package*.json ./ RUN npm ci COPY web/ . RUN npm run build && cp -r src/templates dist/templates && cp -r static dist/static CMD ["node", "dist/index.js"]