fix(docker): ensure preinstall script runs before dependency installation

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-10 19:18:42 +08:00
parent 0bf70fa6b6
commit 8aedfb4bf5

View File

@@ -23,6 +23,8 @@ COPY apps/ssr/package.json ./apps/ssr/package.json
COPY packages/data/package.json ./packages/data/package.json
COPY scripts ./scripts
RUN sh ./scripts/preinstall.sh
RUN ls
# Install all dependencies
RUN pnpm install --frozen-lockfile
COPY config.json ./