FROM rust:latest COPY ../crates ./crates/ COPY ../Cargo.toml ./ COPY ../Cargo.lock ./ RUN cargo build --release RUN cargo install sea-orm-cli CMD ["./target/release/backend"] EXPOSE 8080