From dcc30844d73c9e03f6a8501dcd9cd1e3b7236a10 Mon Sep 17 00:00:00 2001 From: bodombeach Date: Wed, 29 May 2024 18:20:54 +0200 Subject: [PATCH] add override bind volume /app/node_modules in compose.yaml --- compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index b7b80b2..6381629 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,4 +5,5 @@ services: command: npm run dev restart: unless-stopped volumes: - - .:/app \ No newline at end of file + - .:/app + - /app/node_modules # Avoid overwriting node_modules of main bind (.:/app) \ No newline at end of file