fix(install/docker): use zstd-baked image for building superset-frontend in containerized env (#30279)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải 2024-09-17 00:01:49 +07:00 committed by GitHub
parent 63f4f4f60c
commit 2166cbdd80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -149,7 +149,14 @@ services:
disable: true
superset-node:
image: node:20
build:
context: .
target: superset-node
args:
# This prevents building the frontend bundle since we'll mount local folder
# and build it on startup while firing docker-frontend.sh in dev mode, where
# it'll mount and watch local files and rebuild as you update them
DEV_MODE: "true"
environment:
# set this to false if you have perf issues running the npm i; npm run dev in-docker
# if you do so, you have to run this manually on the host, which should perform better!