Add global install of webpack and webpack-cli to docker-compose (#9310)

This commit is contained in:
Will Barrett
2020-03-24 08:38:58 -07:00
committed by GitHub
parent f51ab59748
commit 46e39d1036

View File

@@ -69,7 +69,7 @@ services:
superset-node:
image: node:10-jessie
command: ["bash", "-c", "cd /app/superset-frontend && npm install && npm run dev"]
command: ["bash", "-c", "cd /app/superset-frontend && npm install --global webpack webpack-cli && npm install && npm run dev"]
env_file: docker/.env
depends_on: *superset-depends-on
volumes: *superset-volumes