fix: Remove Cargo.lock from Dockerfile copy to avoid missing file error
This commit is contained in:
parent
d02c348d92
commit
1e9ca98c92
2 changed files with 72 additions and 73 deletions
|
|
@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy Cargo files first for better caching
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY Cargo.toml ./
|
||||
|
||||
# Create dummy main.rs for dependency caching
|
||||
RUN mkdir src && echo 'fn main() {}' > src/main.rs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue