From af3ce9dea76deba53b79c42c0f31d3675b975bce Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 8 Apr 2026 20:17:14 +0000 Subject: [PATCH] fix(docker): Fix missing patches/tsconfig for docs on docker build --- Dockerfile | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcac891a..51cf71c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,8 @@ FROM base AS build COPY --chown=abc:abc package*.json tsconfig.json ./ COPY --chown=abc:abc patches ./patches -COPY --chown=abc:abc docsite/package*.json tsconfig.json ./docsite/ +COPY --chown=abc:abc docsite/patches ./docsite/patches +COPY --chown=abc:abc docsite/package*.json docsite/tsconfig* ./docsite/ # for debugging, so the build fails faster when timing out (arm64) #RUN npm config set fetch-retries 1 && \ diff --git a/package.json b/package.json index 70bb8178..4efbcd0d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build:backend": "tsc -p src/backend && npm run -s schema:app", "build": "npm run -s build:backend && npm run -s build:frontend && npm run -s docs:build", "build:parallel": "concurrently --kill-others-on-fail --names backend,frontend,docs \"npm run -s build:backend\" \"npm run -s build:frontend\" \"npm run docs:build\"", - "docs:install": "cd docsite && npm ci --no-audit", + "docs:install": "cd docsite && npm install --no-audit", "docs:start": "cd docsite && npm start", "docs:build": "npm run -s schema:docs && cd docsite && npm run build", "docs:netlify": "npm run -s docs:install && npm run -s docs:build", -- 2.51.2