FROM rust:latest RUN rustup target add x86_64-unknown-linux-musl RUN apt update && apt install -y musl-tools musl-dev curl RUN update-ca-certificates RUN cargo install --target x86_64-unknown-linux-musl aichat ADD src/aichat/entrypoint.sh /entrypoint.sh ADD src/aichat/config.yaml /aichat_config_tpl.yaml RUN chmod 755 entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]