From 0bb2860a44409bf848e1fe965dee80dee098148c Mon Sep 17 00:00:00 2001 From: v1xingyue Date: Wed, 11 Dec 2024 10:34:14 +0800 Subject: [PATCH] modify build-docker --- Dockerfile | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a16b33ac0c..d97ed212cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ COPY characters ./characters # Install dependencies and build the project RUN pnpm install \ - && pnpm build \ + && pnpm build-docker \ && pnpm prune --prod # Create a new stage for the final image diff --git a/package.json b/package.json index 8006b83157..ebbafb73a8 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "eliza", "scripts": { "preinstall": "npx only-allow pnpm", - "build": "turbo run build", + "build": "turbo run build --filter=!eliza-docs", + "build-docker": "turbo run build", "start": "pnpm --filter \"@ai16z/agent\" start --isRoot", "start:client": "pnpm --dir client start --isRoot", "start:debug": "cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \"@ai16z/agent\" start --isRoot", "dev": "bash ./scripts/dev.sh", - "dev:build": "turbo run build --filter=!eliza-docs", "lint": "bash ./scripts/lint.sh", "prettier-check": "npx prettier --check .", "prettier": "npx prettier --write .",