Skip to content

Commit

Permalink
Don't fail COPY if Cargo.lock doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
avborup committed Sep 26, 2023
1 parent 800fc30 commit cf5608f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kitty-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /
# Create blank project
RUN USER=root cargo new app
# We want dependencies cached, so copy those first.
COPY Cargo.toml Cargo.lock /app
COPY Cargo.* /app
WORKDIR /app

# This is a dummy build to get the dependencies cached.
Expand Down

0 comments on commit cf5608f

Please sign in to comment.