FROM rust:1.56 WORKDIR /app COPY . . ENV SQLX_OFFLINE true RUN cargo build --release ENV APP_ENVIRONMENT production ENTRYPOINT ["./target/release/mail_app"]