# SITER-Solar analysis container — runs the CURRENT bash analyzer.
# (2026-09-06, #826: entrypoint previously ran the DEPRECATED
# solar_estimate.py, which also assumed 400W panels. Retired.)
FROM alpine:3.20

RUN apk add --no-cache bash curl jq bc

WORKDIR /app

COPY siter-solar-analysis.sh /app/siter-solar-analysis.sh
RUN chmod +x /app/siter-solar-analysis.sh

ENTRYPOINT ["/app/siter-solar-analysis.sh"]
