# Production stage - only needs nginx and built files
FROM nginx:alpine

# Copy built files (from CI artifact or local build)
COPY web/dist /usr/share/nginx/html

# Copy nginx config
COPY nginx.conf /etc/nginx/conf.d/default.conf

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]