fix(ci): i'm carrying ci these days

This commit is contained in:
andrea 2025-03-05 22:27:09 +00:00
commit fa623d0937

View file

@ -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