fix(docker): Start with lib project for caching
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Valentin Brandl 2021-06-29 19:14:51 +02:00
parent 13c193d04a
commit 1fae322993

View File

@ -1,7 +1,7 @@
FROM ekidd/rust-musl-builder:stable as builder
# create new cargo project
RUN USER=rust cargo init --bin
RUN USER=rust cargo init --lib
# copy build config
COPY --chown=rust ./Cargo.lock ./Cargo.lock
COPY ./Cargo.toml ./Cargo.toml