mirror of
https://github.com/caprover/caprover
synced 2025-12-12 22:35:39 +00:00
updated clean deploy scripts
This commit is contained in:
@@ -6,7 +6,7 @@ if ! [ $(id -u) = 0 ]; then
|
||||
fi
|
||||
|
||||
pwd > currentdirectory
|
||||
docker service rm captain-captain captain-nginx captain-certbot captain-registry
|
||||
docker service rm $(docker service ls -q)
|
||||
sleep 1s
|
||||
docker secret rm captain-salt
|
||||
docker build -t captain-debug -f dockerfile-captain.debug .
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www",
|
||||
"dev": "echo 'RECOMPILING' && npx madge --circular --extensions ts ./ && rm -rf ./built && npx tsc && sudo ./dev-reset-service.sh",
|
||||
"dev": "echo 'RECOMPILING' && npx madge --circular --extensions ts ./ && rm -rf ./built && npx tsc && sudo ./dev-scripts/dev-reset-service.sh",
|
||||
"clean": "sudo ./dev-scripts/dev-clean-run-as-dev.sh",
|
||||
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
||||
"build": "npx tsc",
|
||||
"test": "jest"
|
||||
|
||||
Reference in New Issue
Block a user