🐛(docker-compose) unbind the y-provider service with frontend
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.
This commit is contained in:
@@ -185,15 +185,11 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
dockerfile: ./src/frontend/servers/y-provider/Dockerfile
|
dockerfile: ./src/frontend/servers/y-provider/Dockerfile
|
||||||
target: y-provider
|
target: y-provider
|
||||||
command: ["yarn", "workspace", "server-y-provider", "run", "dev"]
|
|
||||||
working_dir: /app/frontend
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- env.d/development/common
|
- env.d/development/common
|
||||||
ports:
|
ports:
|
||||||
- "4444:4444"
|
- "4444:4444"
|
||||||
volumes:
|
|
||||||
- ./src/frontend/:/app/frontend
|
|
||||||
|
|
||||||
kc_postgresql:
|
kc_postgresql:
|
||||||
image: postgres:14.3
|
image: postgres:14.3
|
||||||
|
|||||||
Reference in New Issue
Block a user