Skip to content

Commit 9a036f2

Browse files
committed
feat: update npm installation process to include whatsapp-server directory
1 parent 92650ae commit 9a036f2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker/sail/start-container

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ fi
3434
echo "Installing NPM dependencies..."
3535
if [ "$SUPERVISOR_PHP_USER" = "root" ]; then
3636
npm install
37+
cd whatsapp-server && npm install && cd ..
3738
else
38-
gosu $WWWUSER npm install
39+
gosu $WWWUSER bash -c 'npm install && cd whatsapp-server && npm install && cd ..'
3940
fi
4041

4142
# Generate application key

0 commit comments

Comments
 (0)