deploy scripts

This commit is contained in:
2022-04-16 22:58:32 +03:00
parent b84e5c707f
commit 84b7c983d9
4 changed files with 45 additions and 1 deletions
+5 -1
View File
@@ -6,7 +6,11 @@
"scripts": {
"start": "nodemon",
"build": "tsc",
"up:prod": "node dist/main"
"up:prod": "node dist/main",
"deploy:d:stop": "docker-compose down",
"deploy:d:build": "docker-compose build",
"deploy:d:up": "docker-compose up -d",
"redeploy": "npm run deploy:d:stop && npm run deploy:d:build && npm run deploy:d:up"
},
"nodemonConfig": {
"ignore": [