From dfe8ae14fec16e149d8a4d65bf42eba7af7cd815 Mon Sep 17 00:00:00 2001 From: Anthony LC Date: Mon, 7 Apr 2025 12:51:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(docker-compose)=20unbind=20the=20y?= =?UTF-8?q?-provider=20service=20with=20frontend?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We cannot add new js dependency locally when we bind the frontend with the y-provider service. It results in "EPERM: operation not permitted" when the `node_modules` has to be updated. Better to remove the binding, we can add the binding locally during development on the y-provider. --- docker-compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 03897a5a..01d3b06c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -185,15 +185,11 @@ services: context: . dockerfile: ./src/frontend/servers/y-provider/Dockerfile target: y-provider - command: ["yarn", "workspace", "server-y-provider", "run", "dev"] - working_dir: /app/frontend restart: unless-stopped env_file: - env.d/development/common ports: - "4444:4444" - volumes: - - ./src/frontend/:/app/frontend kc_postgresql: image: postgres:14.3