fix: dockerfile

This commit is contained in:
Strix 2023-10-16 01:36:02 +02:00
parent 70de1d2428
commit 7c44053eae
No known key found for this signature in database
GPG Key ID: 49B2E37B8915B774
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ FROM rust
WORKDIR /usr/src/app
# first cargo files to cache dependencies
COPY Cargo.toml Cargo.lock ./
COPY Cargo.toml ./
RUN mkdir src && \
echo "fn main() {println!(\"if you see this, the build broke\")}" > src/main.rs && \
cargo build --release