chore(docker): volume mapping for dev

This commit is contained in:
yassin@siouda.com
2023-10-11 17:15:26 +02:00
parent f51c141fd8
commit 7b0d708a2f
2 changed files with 24 additions and 1 deletions

View File

@ -52,4 +52,17 @@ The `tauri` version is only here to quickstart future developments but nothing
`docker compose --profile prod up`
### Build and run the dev image
`docker compose --profile dev up`
**First installation**
First you need to map node_modules to your local machine for your ide intellisense to work properly
```bash
docker compose --profile dev up -d
docker cp topos-dev:/app/node_modules .
docker compose --profile dev down
```
**Then**
```bash
docker compose --profile dev up
```