fixed issues with frontend dev server in docker

This commit is contained in:
liquidrinu 2025-05-15 18:06:45 +02:00
parent ad0df04535
commit ca5c88e20f

@ -19,12 +19,11 @@ services:
working_dir: /app working_dir: /app
volumes: volumes:
- ./frontend:/app - ./frontend:/app
- /app/node_modules
ports: ports:
- '8080:8080' - '8080:8080'
environment: environment:
- NODE_ENV=development - NODE_ENV=development
command: sh -c "npm install && npm run dev -- --host 0.0.0.0" command: sh -c "cd /app && npm install && npm run dev -- --host 0.0.0.0 --port 8080"
networks: networks:
- fusero-network - fusero-network
depends_on: depends_on: