diff --git a/install/twenty-install.sh b/install/twenty-install.sh index 572d37e9c..225dd157e 100644 --- a/install/twenty-install.sh +++ b/install/twenty-install.sh @@ -31,7 +31,7 @@ export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 $STD corepack enable $STD corepack prepare yarn@4.9.2 --activate export NODE_OPTIONS="--max-old-space-size=3072" -$STD yarn install --immutable || $STD yarn install +$STD yarn install $STD npx nx run twenty-server:build $STD npx nx build twenty-front cp -r /opt/twenty/packages/twenty-front/build /opt/twenty/packages/twenty-server/dist/front