Nginx + pagespeed proxy. Put it between you web application and the users for assets optimization.
Please refer to
crane.yml for container run definition, needed environmental variables and linking possibilites.
If using crane you can execute following command in root dir (APP_DOMAIN envvar may need customization):
crane lift proxy nginx
This will bring two containers,
tests/ directory served, there are bootstrap examples installed there, and
proxy based on
nginx is linked as a
app to the
proxy container. This is enough to see the results:
echo http://$(docker port proxy 80)/examples/theme/