fixed issues with frontend dev server in docker
This commit is contained in:
parent
ad0df04535
commit
ca5c88e20f
@ -19,12 +19,11 @@ services:
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
ports:
|
||||
- '8080:8080'
|
||||
environment:
|
||||
- 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:
|
||||
- fusero-network
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user