chore(dev): add npm clean script for docker compose teardown

Replace manual docker rm steps in DEVELOPMENT.md with `npm run clean`.
This commit is contained in:
Andras Bacsai 2026-07-21 12:13:13 +02:00
parent 9d341d0bb9
commit 253714a23e
2 changed files with 4 additions and 3 deletions

View file

@ -173,9 +173,9 @@ ## Resetting Development Environment
1. Stop all running containers `ctrl + c`. 1. Stop all running containers `ctrl + c`.
2. Remove all Coolify containers: 2. Force-remove all Coolify dev containers:
```bash ```bash
docker rm coolify coolify-db coolify-redis coolify-realtime coolify-testing-host coolify-minio coolify-vite-1 coolify-mail npm run clean
``` ```
3. Remove Coolify volumes (it is possible that the volumes have no `coolify` prefix on your machine, in that case remove the prefix from the command): 3. Remove Coolify volumes (it is possible that the volumes have no `coolify` prefix on your machine, in that case remove the prefix from the command):

View file

@ -7,7 +7,8 @@
"build": "vite build", "build": "vite build",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"test": "vitest run", "test": "vitest run",
"test:watch": "vitest" "test:watch": "vitest",
"clean": "docker compose -f docker-compose.yml -f docker-compose.dev.yml down --remove-orphans"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/postcss": "4.1.18", "@tailwindcss/postcss": "4.1.18",