Docker and webdriver

I can't says what going on in your dockerfile but just to share about webscraping, know that phantomJS is no more maintained.There is other tools that could do the job as well
See