diff --git a/apps/admin/Dockerfile.admin b/apps/admin/Dockerfile.admin index 6af4ff6c3..1cb7a4cb6 100644 --- a/apps/admin/Dockerfile.admin +++ b/apps/admin/Dockerfile.admin @@ -66,7 +66,7 @@ COPY --from=builder /app/out/pnpm-lock.yaml ./pnpm-lock.yaml RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --store-dir=/pnpm/store COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store --prod=false +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store --prod=false # Build only the admin package RUN pnpm turbo run build --filter=admin diff --git a/apps/live/Dockerfile.live b/apps/live/Dockerfile.live index 92fbee6a1..56027bf5e 100644 --- a/apps/live/Dockerfile.live +++ b/apps/live/Dockerfile.live @@ -39,7 +39,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --store-dir=/ # Build the project and its dependencies COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store ENV TURBO_TELEMETRY_DISABLED=1 diff --git a/apps/space/Dockerfile.space b/apps/space/Dockerfile.space index 89c02ae96..3fcffa76f 100644 --- a/apps/space/Dockerfile.space +++ b/apps/space/Dockerfile.space @@ -66,7 +66,7 @@ COPY --from=builder /app/out/pnpm-lock.yaml ./pnpm-lock.yaml RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --store-dir=/pnpm/store COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store --prod=false +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store --prod=false # Build only the space package RUN pnpm turbo run build --filter=space diff --git a/apps/web/Dockerfile.web b/apps/web/Dockerfile.web index 04e04a3af..ff5ef65dd 100644 --- a/apps/web/Dockerfile.web +++ b/apps/web/Dockerfile.web @@ -39,7 +39,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --store-dir=/ # Build the project COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json -RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --offline --frozen-lockfile --store-dir=/pnpm/store ARG NEXT_PUBLIC_API_BASE_URL="" ENV NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_API_BASE_URL