Loading request...
Implement a secure method for users to build arbitrary Node.js applications on AWS servers, possibly using Docker containers to isolate user environments and ensure server protection.
I have an app where I get prompt from user to build some Node/React app. He can also control package json dependencies as well. In my server, which is deployed on AWS, i run the build process for the user: npm i & npm build. How can I ensure my server is protected? Should I simply run docker in my server, and build the user app inside a container?