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