# --- Build React app --- FROM node:22-alpine AS builder WORKDIR /app COPY frontend/package*.json ./ RUN npm install COPY frontend/ ./ RUN npm run build # --- Serve with Nginx --- FROM nginx:alpine COPY --from=builder /app/build /usr/share/nginx/html