mirror of
https://github.com/caprover/caprover
synced 2025-12-15 15:55:40 +00:00
updated clean deploy scripts
This commit is contained in:
@@ -6,7 +6,7 @@ if ! [ $(id -u) = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
pwd > currentdirectory
|
pwd > currentdirectory
|
||||||
docker service rm captain-captain captain-nginx captain-certbot captain-registry
|
docker service rm $(docker service ls -q)
|
||||||
sleep 1s
|
sleep 1s
|
||||||
docker secret rm captain-salt
|
docker secret rm captain-salt
|
||||||
docker build -t captain-debug -f dockerfile-captain.debug .
|
docker build -t captain-debug -f dockerfile-captain.debug .
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www",
|
"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",
|
"tslint": "tslint -c tslint.json -p tsconfig.json",
|
||||||
"build": "npx tsc",
|
"build": "npx tsc",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
|
|||||||
Reference in New Issue
Block a user