Skip to content

Commit d07192a

Browse files
committed
use dst with / in dockerfile
1 parent 9ead0db commit d07192a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM rust:latest AS builder
22
WORKDIR /app
33

44
## Cache build dependencies
5-
COPY Cargo.toml Cargo.lock .
5+
COPY Cargo.toml Cargo.lock ./
66
# Create a fake main.rs file to build, so Docker can cache the dependencies.
77
RUN mkdir -p ./src && echo 'fn main() {}' > ./src/main.rs
88
RUN cargo fetch

0 commit comments

Comments
 (0)