fix(docker): copy all workspace members for cargo build
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
ZhenYi 2026-04-15 00:25:58 +08:00
parent 524f57ac7a
commit d404202ac0
6 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@ WORKDIR /build
# Copy workspace manifests
COPY Cargo.toml Cargo.lock ./
COPY libs/ libs/
COPY apps/app/ apps/app/
COPY apps/ apps/
# Pre-build dependencies only
RUN cargo fetch

View File

@ -13,7 +13,7 @@ WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY libs/ libs/
COPY apps/email/ apps/email/
COPY apps/ apps/
RUN cargo fetch

View File

@ -13,7 +13,7 @@ WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY libs/ libs/
COPY apps/git-hook/ apps/git-hook/
COPY apps/ apps/
RUN cargo fetch

View File

@ -13,7 +13,7 @@ WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY libs/ libs/
COPY apps/gitserver/ apps/gitserver/
COPY apps/ apps/
RUN cargo fetch

View File

@ -13,7 +13,7 @@ WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY libs/ libs/
COPY apps/migrate/ apps/migrate/
COPY apps/ apps/
RUN cargo fetch

View File

@ -12,8 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /build
COPY Cargo.toml Cargo.lock ./
COPY libs/config/ libs/config/
COPY apps/operator/ apps/operator/
COPY libs/ libs/
COPY apps/ apps/
RUN cargo fetch