debugging npm yarn.

This commit is contained in:
Johanna Rührig 2025-01-01 21:35:10 +01:00
parent 66015ba45c
commit f3db85739e

View File

@ -37,8 +37,7 @@ $STD apt-get install -y \
libldap-2.5 libldap-2.5
mkdir /app mkdir /app
$STD npm install -g npm npm install -g yarn
$STD npm install -g yarn
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
RELEASE=$(curl -s https://api.github.com/repos/mealie-recipes/mealie/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') RELEASE=$(curl -s https://api.github.com/repos/mealie-recipes/mealie/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
@ -50,13 +49,13 @@ msg_ok "Downloading mealie ${RELEASE}"
msg_info "Setting up frontend" msg_info "Setting up frontend"
cd /app/mealie cd /app/mealie
yarn install \ /usr/local/bin/yarn install \
--prefer-offline \ --prefer-offline \
--frozen-lockfile \ --frozen-lockfile \
--non-interactive \ --non-interactive \
--production=false \ --production=false \
--network-timeout=1000000 --network-timeout=1000000
yarn generate /usr/local/bin/yarn generate
msg_ok "Setting up frontend" msg_ok "Setting up frontend"
msg_info "Setting up ENV" msg_info "Setting up ENV"