But it may also fail because phantomjs for example doesn't work on the ubuntu bionic. It has some issues with a new version of OpenSSL, so there can be the same problem with the aws lambda os.

You additionally asked if it runs on Container. Not sure what container you mean, but if you ask about docker - yes, it works in docker. It is also still part of our official jsreport full image.
https://hub.docker.com/r/jsreport/jsreport/