From cb95d8e1b007e8cc1fc195dabf2b498c4322ea7e Mon Sep 17 00:00:00 2001 From: sHa Date: Sun, 27 Apr 2025 22:24:45 +0300 Subject: [PATCH] refactor: Simplify volume mappings in Docker Compose configuration and remove package-lock.json from .gitignore --- .gitignore | 2 +- compose.dev.yml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c4c331f..18990c4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ node_modules/ npm-debug.log yarn-debug.log yarn-error.log -package-lock.json + yarn.lock # Build output diff --git a/compose.dev.yml b/compose.dev.yml index eef60a2..fc06ae4 100644 --- a/compose.dev.yml +++ b/compose.dev.yml @@ -8,11 +8,7 @@ services: - "5006:5000" - "35729:35729" volumes: - - ./src:/app/src - - ./public:/app/public - - ./rollup.config.js:/app/rollup.config.js - - ./package.json:/app/package.json - - ./scripts:/app/scripts + - ./:/app environment: - NODE_ENV=development - CHOKIDAR_USEPOLLING=true