diff --git a/Dockerfile b/Dockerfile index f594de8..a5148fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN apk update && \ # Build the dependencies # This is done separately to reduce average compile time # Afterwards, we remove the dummy src directory -COPY Cargo.toml Cargo.lock . +COPY Cargo.toml Cargo.lock ./ RUN cargo build --release && \ rm src/*.rs diff --git a/Makefile b/Makefile index 6a03816..69f4a4a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -IMAGE := rust_api:latest +IMAGE := rust-api:latest shell := /bin/bash