This commit is contained in:
MickLesk 2026-02-22 18:10:56 +01:00
parent 4498913fc9
commit b333c6deea

View File

@ -31,7 +31,7 @@ export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
$STD corepack enable $STD corepack enable
$STD corepack prepare yarn@4.9.2 --activate $STD corepack prepare yarn@4.9.2 --activate
export NODE_OPTIONS="--max-old-space-size=3072" 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 run twenty-server:build
$STD npx nx build twenty-front $STD npx nx build twenty-front
cp -r /opt/twenty/packages/twenty-front/build /opt/twenty/packages/twenty-server/dist/front cp -r /opt/twenty/packages/twenty-front/build /opt/twenty/packages/twenty-server/dist/front