Alpine is a lightweight container; we don't need many libraries/packages in Ubuntu for node applications. If we go with Ubuntu and some other libraries get vulnerabilities, our application will also be in danger. For security best practices, we should consider Alpine.