# Use pre-built kiro-rs image instead of compiling from source FROM ghcr.io/hank9999/kiro-rs:beta-7d4d74 AS upstream FROM alpine:3.21 RUN apk add --no-cache ca-certificates WORKDIR /app COPY --from=upstream /app/kiro-rs /app/kiro-rs COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/kiro-rs /app/entrypoint.sh EXPOSE 7860 VOLUME ["/app/config"] ENTRYPOINT ["/app/entrypoint.sh"]