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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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