From d6abb425d7e3aa30ab538e5311bbd95ecce59ef1 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Tue, 29 Jul 2025 00:03:37 +0100 Subject: [PATCH] chore: update docker-compose.yaml to include optional node_modules and dist volume mounts --- docker-compose.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 63342556..c6707e05 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -26,9 +26,10 @@ services: ports: - '3002:3002' volumes: - - ./apps/backend/src:/app/src - - ./apps/backend/package.json:/app/package.json - - ./apps/backend/tsconfig.json:/app/tsconfig.json + # Node modules (optional - for faster development) + - ./apps/backend/node_modules:/app/node_modules + # Build output directory (if you want to access built files) + - ./apps/backend/dist:/app/dist environment: - NODE_ENV=production # Supabase - Database