chore: fix dev setup
This commit is contained in:
parent
2ff842bd11
commit
5d16c4d541
|
@ -22,6 +22,7 @@ services:
|
||||||
- ./config:/opt/obsAPI/config
|
- ./config:/opt/obsAPI/config
|
||||||
- ./data:/opt/obsAPI/data
|
- ./data:/opt/obsAPI/data
|
||||||
- ./models:/opt/obsAPI/models
|
- ./models:/opt/obsAPI/models
|
||||||
|
- ./logic:/opt/obsAPI/logic
|
||||||
- ./public:/opt/obsAPI/public
|
- ./public:/opt/obsAPI/public
|
||||||
- ./routes:/opt/obsAPI/routes
|
- ./routes:/opt/obsAPI/routes
|
||||||
- ./app.js:/opt/obsAPI/app.js
|
- ./app.js:/opt/obsAPI/app.js
|
||||||
|
@ -33,3 +34,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3000:3000'
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
command:
|
||||||
|
- npm
|
||||||
|
- run
|
||||||
|
- dev
|
||||||
|
|
Loading…
Reference in a new issue