feat: Option to run npm dev-server (hot reload) while calling docker-compose up (#11238)

* Configured docker to be able running dev-server instead of frontend dev script

* reverted changes

* license fix
This commit is contained in:
adam-stasiak-polidea
2020-11-30 18:35:58 +01:00
committed by GitHub
parent 0689738e7c
commit 16e69f1131
2 changed files with 26 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ services:
superset-node:
image: node:12
container_name: superset_node
command: ["bash", "-c", "cd /app/superset-frontend && npm install -f --no-optional --global webpack webpack-cli && npm install -f --no-optional && npm run dev"]
command: ["/app/docker/docker-frontend.sh"]
env_file: docker/.env
depends_on: *superset-depends-on
volumes: *superset-volumes