Merge pull request #4967 from penpot/superalex-fix-missing-env-variable-for-building

🐛 Fix missing storybook env variable for building
This commit is contained in:
Andrey Antukh
2024-08-06 17:32:22 +02:00
committed by GitHub

View File

@@ -112,6 +112,7 @@ function build {
--mount source=${DEVENV_PNAME}_user_data,type=volume,target=/home/penpot/ \
--mount source=`pwd`,type=bind,target=/home/penpot/penpot \
-e EXTERNAL_UID=$CURRENT_USER_ID \
-e BUILD_STORYBOOK=$BUILD_STORYBOOK \
-e SHADOWCLJS_EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS \
-w /home/penpot/penpot/$1 \
$DEVENV_IMGNAME:latest sudo -EH -u penpot ./scripts/build $version