diff --git a/.gitignore b/.gitignore index 17b4305..b7c35b4 100644 --- a/.gitignore +++ b/.gitignore @@ -122,3 +122,4 @@ dist yarn.lock public/css public/css +docker-compose.yml diff --git a/docker-compose.yml.prod b/docker-compose.yml.prod index 2fc93e4..0694b59 100644 --- a/docker-compose.yml.prod +++ b/docker-compose.yml.prod @@ -10,7 +10,7 @@ services: command: > bash -c " yarn install && - yarn run" + yarn run:all" volumes: - ./:/home/node/app - /home/node/node_modules diff --git a/package.json b/package.json index 97af062..22ac824 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Simple application to manage your CD/Vinyl collection", "scripts": { "start": "node ./dist/bin/www", - "run": "npm-run-all build sass start", + "run:all": "npm-run-all build sass start", "watch": "nodemon -e js,scss", "sass": "npx sass sass/index.scss public/css/main.css -s compressed", "prebuild": "rimraf dist", @@ -64,7 +64,7 @@ "vue": "^3.2.31" }, "nodemonConfig": { - "exec": "yarn run", + "exec": "yarn run:all", "watch": [ "src/*", "sass/*"