Handle config.js.dist in Dockerfile

Long overdue, this fixes the Dockerfile vs the recent move of `config.js` to `config.js.dist`.

It also fixes a (new ?) bug in the phantomjs build.