ignore dist and better deploy script

stable
valerie 2023-03-12 10:49:49 -04:00
parent 6dba59db26
commit 384f6c9b4a
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules node_modules
.env .env
dist

View File

@ -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": {