This commit is contained in:
Andrea Toska 2025-05-10 11:24:35 +02:00
commit 97ae20038d
No known key found for this signature in database
GPG key ID: 5B3C83807CCBE9A2

View file

@ -7,7 +7,8 @@ RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static protobuf-dev lld
WORKDIR /app
# this optimizes build time by putting the dependencies in a seperate docker layer, speeding up future builds
COPY mii ./
COPY Cargo.toml Cargo.lock ./
COPY mii ./mii
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo fetch
COPY . .