Skip to content

Commit

Permalink
fix(install/docker): use zstd-baked image for building superset-front…
Browse files Browse the repository at this point in the history
…end in containerized env (#30279)

Signed-off-by: hainenber <dotronghai96@gmail.com>
  • Loading branch information
hainenber authored Sep 16, 2024
1 parent 63f4f4f commit 2166cbd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 2166cbd

Please sign in to comment.