fix(docker): copy all workspace members for cargo build
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
524f57ac7a
commit
d404202ac0
@ -15,7 +15,7 @@ WORKDIR /build
|
|||||||
# Copy workspace manifests
|
# Copy workspace manifests
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/ libs/
|
COPY libs/ libs/
|
||||||
COPY apps/app/ apps/app/
|
COPY apps/ apps/
|
||||||
|
|
||||||
# Pre-build dependencies only
|
# Pre-build dependencies only
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|||||||
@ -13,7 +13,7 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/ libs/
|
COPY libs/ libs/
|
||||||
COPY apps/email/ apps/email/
|
COPY apps/ apps/
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/ libs/
|
COPY libs/ libs/
|
||||||
COPY apps/git-hook/ apps/git-hook/
|
COPY apps/ apps/
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/ libs/
|
COPY libs/ libs/
|
||||||
COPY apps/gitserver/ apps/gitserver/
|
COPY apps/ apps/
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ WORKDIR /build
|
|||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/ libs/
|
COPY libs/ libs/
|
||||||
COPY apps/migrate/ apps/migrate/
|
COPY apps/ apps/
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|
||||||
|
|||||||
@ -12,8 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock ./
|
||||||
COPY libs/config/ libs/config/
|
COPY libs/ libs/
|
||||||
COPY apps/operator/ apps/operator/
|
COPY apps/ apps/
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user