diff --git a/apps/admin/Dockerfile.admin b/apps/admin/Dockerfile.admin index 3ee1d73bf98..7110094347a 100644 --- a/apps/admin/Dockerfile.admin +++ b/apps/admin/Dockerfile.admin @@ -68,7 +68,7 @@ COPY turbo.json turbo.json # Fetch dependencies to cache store, then install offline with dev deps RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --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 --prod=false +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --prefer-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 864bd0d17e5..3f784ef5608 100644 --- a/apps/live/Dockerfile.live +++ b/apps/live/Dockerfile.live @@ -41,7 +41,7 @@ COPY turbo.json turbo.json # Fetch dependencies to cache store, then install offline with dev deps RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --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 +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --prefer-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 39a05176aeb..879668e2918 100644 --- a/apps/space/Dockerfile.space +++ b/apps/space/Dockerfile.space @@ -69,7 +69,7 @@ COPY turbo.json turbo.json # Fetch dependencies to cache store, then install offline with dev deps RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --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 --prod=false +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --prefer-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 4a40054ae58..244967f95f5 100644 --- a/apps/web/Dockerfile.web +++ b/apps/web/Dockerfile.web @@ -41,7 +41,7 @@ COPY turbo.json turbo.json # Fetch dependencies to cache store, then install offline with dev deps RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm fetch --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 +RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store CI=true pnpm install --prefer-offline --frozen-lockfile --store-dir=/pnpm/store ARG VITE_API_BASE_URL="" ENV VITE_API_BASE_URL=$VITE_API_BASE_URL