Give the preview process ownership of its Next cache
Unified application CI and deployment / static-checks (push) Successful in 7s
Remote development preview source sync / sync-source (push) Successful in 1m28s
Unified application CI and deployment / static-checks (pull_request) Successful in 5s
python CI and deployment / static-checks (pull_request) Successful in 3s
Unified application CI and deployment / verify-and-release (push) Has been skipped
Unified application CI and deployment / verify-and-release (pull_request) Has been skipped
python CI and deployment / verify-and-deploy (pull_request) Has been skipped

This commit is contained in:
2026-11-04 14:32:04 +08:00
parent fe26f03cf4
commit 1df5790d23
3 changed files with 12 additions and 7 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ services:
image: ${PREVIEW_TOOL_IMAGE:?required}
profiles: [setup]
user: root
volumes: ["tools:/tools"]
command: ["/bin/sh", "-ec", "mkdir -p /tools/corepack && cp -a /root/.cache/node/corepack/. /tools/corepack/ && chown -R 1000:1000 /tools"]
volumes: ["tools:/tools", "next-cache:/preview-next"]
command: ["/bin/sh", "-ec", "mkdir -p /tools/corepack && cp -a /root/.cache/node/corepack/. /tools/corepack/ && chown -R 1000:1000 /tools /preview-next"]
migrate:
image: ${PREVIEW_TOOL_IMAGE:?required}
profiles: [setup]