Skip to content

Commit

Permalink
Add docker volume (bind mount) + .dockerignore file
Browse files Browse the repository at this point in the history
editing files on the host will be reflected in the running container
  • Loading branch information
Phu2 committed Jun 10, 2024
1 parent 76a0730 commit 8a8b9eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.git/
.github/
node_modules/
test/
.vscode
2 changes: 2 additions & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
build:
context: .
dockerfile: Dockerfile.dev
volumes:
- .:/opt/metafacture-playground
ports:
- 8280:8280
- 9630:9630

0 comments on commit 8a8b9eb

Please sign in to comment.