chore: Update npm scripts for LLM deployment

The npm scripts for starting, building, and force-building the LLM (Llama Models) service have been updated in the package.json file. The new scripts use the docker-compose.llm.yml file instead of the docker-compose.ai.yml file. This change ensures that the correct configuration is used for deploying the LLM service.
This commit is contained in:
Simon Larsen 2024-06-28 11:33:48 +01:00
parent 9a86978c9d
commit f585ffe756
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

View File

@ -42,9 +42,9 @@
"fix": "npm run fix-lint",
"status-check": "bash ./Tests/Scripts/status-check.sh $npm_config_services",
"start": "export $(grep -v '^#' config.env | xargs) && docker compose up --remove-orphans -d $npm_config_services && npm run status-check",
"start-ai": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.ai.yml up --remove-orphans -d $npm_config_services",
"build-ai": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.ai.yml build $npm_config_services",
"force-build-ai": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.ai.yml build --no-cache $npm_config_services",
"start-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml up --remove-orphans -d $npm_config_services",
"build-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml build $npm_config_services",
"force-build-llm": "npm run prerun && export $(grep -v '^#' config.env | xargs) && docker compose -f docker-compose.llm.yml build --no-cache $npm_config_services",
"ps": "export $(grep -v '^#' config.env | xargs) && docker compose ps",
"save-logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100000 $npm_config_services > logs.txt",
"logs": "export $(grep -v '^#' config.env | xargs) && docker compose logs --tail=100 -f $npm_config_services",