Commit 56efa7c
authored
Fix docker compose on MacOS (#570)
* Fix docker compose on MacOS
## Problem
When calling `docker compose up`, the `pwa` service fails with a strange error on MacOS:
```
pwa-1 | yarn run v1.22.22
pwa-1 | $ storybook dev -p 3000
pwa-1 | /bin/sh: 1: storybook: not found
pwa-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
pwa-1 | error Command failed with exit code 127.
```
It seems the container doesn't find the node_modules at all.
## Solution
Add a second volume for the node_modules.
* Fix formatting1 parent 969ecc2 commit 56efa7c
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
0 commit comments