How to deploy OHIF/Viewer as a static module?

I want to use OHIF/Viewer as a static module. For example, when users open the URL http://www.domainname.com/static/viewer, they can get the app. How should I modify the source code and rebuild it?

Thanks!