yeah, but if you would have installed with npm your software, would the postinstall script have been executed?
This would be like expecting AWS to protect your EC2 instance from a postinstall script
Update the analogy to “like EC2 but we handle the base OS patching and container runtime” and you have Fargate.