# Stage 0: builder (no-op for static assets) FROM alpine:3.19 AS builder WORKDIR /site COPY . . # Simple no-op build step to satisfy build workflows RUN echo "Static site build step (no-op)" \ && mkdir -p /site/build # Stage 1: runtime image FROM nginx:stable # Copy built assets to nginx's web root COPY --from=builder /site/ /usr/share/nginx/html/ # Expose port 80 EXPOSE 80 # Run nginx in the foreground CMD ["nginx", "-g", "daemon off;"]