# Dockerfile FROM node:20-alpine # Set working directory WORKDIR /app # Install dependencies COPY app/package*.json ./ RUN npm install # Copy source COPY app . # Build the static site RUN npm run build # Serve with a lightweight server (e.g., serve) RUN npm install -g serve CMD ["serve", "dist", "-l", "3000"]