diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 2aeaffd..d99665b 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -17,4 +17,8 @@ log = "0.4.22" dotenv = "0.15" futures-util = "0.3.31" aws-credential-types = { version = "1.2.1", features = ["hardcoded-credentials"] } -env_logger = "0.11.5" \ No newline at end of file +env_logger = "0.11.5" + +[[bin]] +name = "backend" +path = "src/main.rs" \ No newline at end of file diff --git a/backend/Dockerfile b/backend/Dockerfile index 4e0300a..61f057b 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:latest as builder +FROM rust:latest AS builder COPY ./Cargo.toml ./Cargo.lock ./ RUN cargo fetch