Error message before the fix: Step 4/19 : COPY ./actix/Cargo.toml ./actix/Cargo.lock . When using COPY with more than one source file, the destination must be a directory and end with a /