mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-08 20:09:54 +00:00
Add common to Dockerfile
This commit is contained in:
parent
35ca220bcc
commit
c7121d96ac
1 changed files with 6 additions and 4 deletions
|
@ -2,12 +2,14 @@ FROM docker.io/paritytech/ci-linux:production as builder
|
|||
LABEL description="STAGE 1: Build"
|
||||
|
||||
# Add files for build
|
||||
ADD substrate /serai/substrate
|
||||
ADD processor /serai/processor
|
||||
ADD coins /serai/coins
|
||||
ADD common /serai/common
|
||||
ADD crypto /serai/crypto
|
||||
ADD coins /serai/coins
|
||||
ADD processor /serai/processor
|
||||
ADD contracts /serai/contracts
|
||||
ADD substrate /serai/substrate
|
||||
ADD Cargo.toml /serai
|
||||
ADD Cargo.lock /serai
|
||||
ADD AGPL-3.0 /serai
|
||||
|
||||
WORKDIR /serai
|
||||
|
@ -26,7 +28,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/git \
|
|||
--mount=type=cache,target=/serai/target/release/build \
|
||||
--mount=type=cache,target=/serai/target/release/deps \
|
||||
--mount=type=cache,target=/serai/target/release/.fingerprint \
|
||||
--mount=type=cache,target=/serai/target/release/incremental \
|
||||
--mount=type=cache,target=/serai/target/release/incremental \
|
||||
--mount=type=cache,target=/serai/target/release/wbuild \
|
||||
--mount=type=cache,target=/serai/target/release/lib* \
|
||||
cargo build --release
|
||||
|
|
Loading…
Reference in a new issue