Added dev tools

This commit is contained in:
Alie 2025-01-03 10:36:37 +01:00
parent 678ca1c6f5
commit 6dc13d47df
3 changed files with 7 additions and 1 deletions

1
.tool-versions Normal file
View File

@ -0,0 +1 @@
nodejs 23.5.0

View File

@ -1,5 +1,9 @@
services:
web:
build: .
develop:
watch:
- path: .
action: rebuild
ports:
- 8080:8080

View File

@ -18,6 +18,7 @@
"start": "NODE_PATH=./dist node dist/index.js",
"buildandpush": "docker buildx build --push --platform=linux/amd64,linux/arm64 -t git.fai.st/bizcochito/bizcochito.onion .",
"deploy": "npm run buildandpush && sleep 3 && kubectl rollout restart deploy/web -n web",
"dev": "npm run build && npm run start"
"local": "npm run build && npm run start",
"dev": "docker compose watch"
}
}