ignore dist and better deploy script
parent
6dba59db26
commit
384f6c9b4a
|
|
@ -1,2 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
.env
|
.env
|
||||||
|
dist
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon -e ts,env,json -x yarn -- ts-node --esm ./src/main.ts",
|
"dev": "nodemon -e ts,env,json -x yarn -- ts-node --esm ./src/main.ts",
|
||||||
"deploy": "docker-compose down && yarn build && docker-compose up",
|
"deploy": "docker-compose down && yarn build && docker-compose up -d",
|
||||||
"build": "yarn tsc && docker-compose build --no-cache"
|
"build": "yarn tsc && docker-compose build --no-cache"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue