diff --git a/Dockerfile b/Dockerfile index 7ae43e72f..7a2eca66e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,9 @@ COPY --from=builder /app/cli-out/json/ . COPY --from=builder /app/next-out/json/ . COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml +# Is used for postinstall of docs definitions +COPY --from=builder /app/packages/definitions/src/docs ./packages/definitions/src/docs + # Uses the lockfile to install the dependencies RUN corepack enable pnpm && pnpm install --recursive --frozen-lockfile diff --git a/package.json b/package.json index 5ccc0b3b3..9410bd747 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "homarr", "private": true, "scripts": { - "build": "turbo build", + "build": "cross-env CI=true turbo build", "clean": "git clean -xdf node_modules", "clean:workspaces": "turbo clean", "cli": "pnpm with-env tsx packages/cli/index.ts",