ApfelNetzwerk/Dockerfile-backend

11 lines
158 B
Plaintext

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