[Homarr] Omit optional node pkgs

This commit is contained in:
Sam Heinz
2024-04-12 19:02:10 +10:00
parent bd785017a1
commit 615c887a39

View File

@@ -44,8 +44,8 @@ rm -rf /opt/homarr-${RELEASE}
cd /opt/homarr
wget -q -O /opt/homarr/.env https://raw.githubusercontent.com/ajnart/homarr/dev/.env.example
sed -i 's|NEXTAUTH_SECRET="[^"]*"|NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"|' /opt/homarr/.env
$STD yarn install
$STD yarn build
$STD yarn install --omit=optional
$STD yarn build --omit=optional
$STD yarn db:migrate
msg_ok "Installed Homarr"