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

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