# Build stage
FROM node:20-alpine AS build
WORKDIR /app
COPY . .

# Runtime stage
FROM nginx:alpine
COPY --from=build /app/docs /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
