fix(ci): i'm carrying ci these days
This commit is contained in:
parent
1668b6abe8
commit
fa623d0937
1 changed files with 0 additions and 5 deletions
|
|
@ -2,11 +2,6 @@ FROM rust:1.85 as builder
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
# this looks like being stupid, but docker cache is FIRE once you do this
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo fetch
|
||||
|
||||
# there's the beauty
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue