# Migration runner using Rust nightly
FROM rustlang/rust:nightly-bookworm

# Install sqlx-cli with only postgres support
RUN cargo install sqlx-cli --no-default-features --features postgres,native-tls

WORKDIR /app

ENTRYPOINT ["/bin/sh", "-c"]
