Skip to content

Commit

Permalink
fix(docker): mount only required folders (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff authored May 10, 2020
1 parent 4f623f1 commit 0e8a147
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ services:
image: aegee/oms-discounts:dev
command: sh -c "sh /usr/app/scripts/bootstrap.sh && nodemon -e 'js,json' lib/run.js | bunyan"
volumes:
- /usr/app/src/node_modules
- ./${PATH_OMS_DISCOUNTS}/../:/usr/app/src
- ./${PATH_OMS_DISCOUNTS}/../config:/usr/app/src/config
- ./${PATH_OMS_DISCOUNTS}/../lib:/usr/app/src/lib
- ./${PATH_OMS_DISCOUNTS}/../migrations:/usr/app/src/migrations
- ./${PATH_OMS_DISCOUNTS}/../models:/usr/app/src/models
- ./${PATH_OMS_DISCOUNTS}/../cli.js:/usr/app/src/cli.js
command: "sh -c '/usr/app/scripts/bootstrap.sh && npm run nodemon-start'"

0 comments on commit 0e8a147

Please sign in to comment.