FROM rust:latest WORKDIR /app/ COPY . . ENV CARGO_HTTP_MULTIPLEXING=false RUN cargo install diesel_cli --no-default-features --features "postgres" RUN cargo install cargo-watch CMD ["cargo", "watch", "--why", "-x", "build"]