fix: dockerfile
This commit is contained in:
parent
70de1d2428
commit
7c44053eae
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ FROM rust
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
# first cargo files to cache dependencies
|
# first cargo files to cache dependencies
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml ./
|
||||||
RUN mkdir src && \
|
RUN mkdir src && \
|
||||||
echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \
|
echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
Loading…
Reference in a new issue