Update build.sh

This commit is contained in:
Moritz Utcke
2024-11-06 12:31:27 +11:00
parent fcd187e875
commit 6e9857c582

View File

@@ -53,7 +53,7 @@ if [ ! $((docker ps | grep $DB_CONTAINER_NAME) | wc -l) -gt 0 ]; then
fi
# Auch die API sollte bereits laufen
if [ ! $((pm2 pid api | wc -l)) -gt 0 ]; then
if [ $(pm2 pid api) -eq "0" ]; then
cd ../api;
make prod;
cd ../$APP_NAME;