add dockerfile mode
use wildcard protocol for external resources.

Otherwise we can't serve it over https
fix dockerfile mode
minor fix
always use https
Merge pull request #1907 from ajaxorg/dockerfile

Dockerfile