Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

build: Take over the build command in the installation script

Mohamed Bassem2328dc3444b8
diff --git a/apps/web/package.json b/apps/web/package.json
index 5279dad8..1b26b183 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -7,7 +7,7 @@
"scripts": {
"dev": "next dev",
"clean": "git clean -xdf .next .turbo node_modules",
- "build": "next build",
+ "build": "next build --experimental-build-mode compile",
"start": "next start",
"lint": "next lint",
"test": "vitest",
diff --git a/karakeep-linux.sh b/karakeep-linux.sh
index 4e7123df..bb7cff8d 100644
--- a/karakeep-linux.sh
+++ b/karakeep-linux.sh
@@ -79,7 +79,7 @@ install() {
export PUPPETEER_SKIP_DOWNLOAD="true"
export CI="true"
pnpm i --frozen-lockfile
- pnpm exec next build --experimental-build-mode compile
+ pnpm build
cd "$INSTALL_DIR"/apps/workers
pnpm i --frozen-lockfile
cd "$INSTALL_DIR"/apps/cli
@@ -281,7 +281,7 @@ update() {
export PUPPETEER_SKIP_DOWNLOAD="true"
export CI="true"
cd "$INSTALL_DIR"/apps/web && pnpm i --frozen-lockfile
- pnpm exec next build --experimental-build-mode compile
+ pnpm build
cd "$INSTALL_DIR"/apps/workers && pnpm i --frozen-lockfile
cd "$INSTALL_DIR"/apps/cli && pnpm i --frozen-lockfile
pnpm build