From 8d2b8479decbda1a3d4a6eee64b5f54931a58081 Mon Sep 17 00:00:00 2001 From: Jim O'Donnell Date: Fri, 15 Nov 2024 14:15:54 +0000 Subject: [PATCH] add the node_modules volume to the project app --- packages/app-project/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/app-project/docker-compose.yml b/packages/app-project/docker-compose.yml index 1e839ed7d8..717d96af0f 100644 --- a/packages/app-project/docker-compose.yml +++ b/packages/app-project/docker-compose.yml @@ -21,6 +21,7 @@ services: - ./pages:/usr/src/packages/app-project/pages - ./src:/usr/src/packages/app-project/src - ./stores:/usr/src/packages/app-project/stores + - node_modules:/usr/src/node_modules storybook: image: front-end-monorepo_dev:latest entrypoint: @@ -34,3 +35,6 @@ services: - ./pages:/usr/src/packages/app-project/pages - ./src:/usr/src/packages/app-project/src - ./stores:/usr/src/packages/app-project/stores + - node_modules:/usr/src/node_modules +volumes: + node_modules: