Fix issue with missing Cargo.lock in Dockerfile causing build failures.
This commit is contained in:
parent
055aad7a90
commit
d4b26d9e3e
|
@ -12,7 +12,7 @@ WORKDIR ${APP_HOME}
|
|||
|
||||
# Create build target cache.
|
||||
RUN USER=root cargo init --bin .
|
||||
COPY ["Cargo.toml", "Cargo.lock", "./"]
|
||||
COPY ["Cargo.toml", "./"]
|
||||
RUN cargo build \
|
||||
&& cargo build --tests \
|
||||
&& cargo build --release \
|
||||
|
|
Loading…
Reference in New Issue