FROM alpine:3.19
RUN apk add --no-cache curl docker-cli bash jq drill
WORKDIR /app
COPY dns-router-heal.sh /app/dns-router-heal.sh
RUN chmod +x /app/dns-router-heal.sh && mkdir -p /var/log/falah /var/state/falah
CMD ["/app/dns-router-heal.sh"]
