Skip to content

Commit

Permalink
fix(docker): mount only required folders (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
serge1peshcoff authored May 6, 2020
1 parent f4beeed commit 94d42dd
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,5 +8,8 @@ services:
image: aegee/oms-events: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_EVENTS}/../:/usr/app/src
- ./${PATH_OMS_EVENTS}/../config:/usr/app/src/config
- ./${PATH_OMS_EVENTS}/../lib:/usr/app/src/lib
- ./${PATH_OMS_EVENTS}/../migrations:/usr/app/src/migrations
- ./${PATH_OMS_EVENTS}/../models:/usr/app/src/models
- ./${PATH_OMS_EVENTS}/../cli.js:/usr/app/src/cli.js

0 comments on commit 94d42dd

Please sign in to comment.