Edit Dockerfile

This commit is contained in:
andrea 2025-05-08 08:25:34 +00:00
commit d30f9abbbc

View file

@ -7,6 +7,7 @@ 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 Cargo.toml Cargo.lock ./
COPY mii ./mii
RUN mkdir src && echo "fn main() {}" > src/main.rs && cargo fetch