Skip to content

Commit

Permalink
Mount working directory in Docker Compose (#247)
Browse files Browse the repository at this point in the history
This is required for #222 to make any sense.

Co-authored-by: Hong Ket Lo <[email protected]>
  • Loading branch information
72636c and hket89 authored Nov 2, 2020
1 parent 2c819d0 commit ff2e956
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-lizards-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

**template:** Mount working directory in Docker Compose
1 change: 1 addition & 0 deletions template/express-rest-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ services:
target: dev-deps
init: true
volumes:
- ./:/workdir
- /workdir/node_modules
1 change: 1 addition & 0 deletions template/greeter/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ services:
target: dev-deps
init: true
volumes:
- ./:/workdir
- /workdir/node_modules
1 change: 1 addition & 0 deletions template/koa-rest-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ services:
target: dev-deps
init: true
volumes:
- ./:/workdir
- /workdir/node_modules
1 change: 1 addition & 0 deletions template/lambda-sqs-worker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ services:
- VERSION
init: true
volumes:
- ./:/workdir
- /workdir/node_modules

0 comments on commit ff2e956

Please sign in to comment.