Beanstalk needs the ports exposed in the Dockerfile.

Seems quite obvious once you know that :-D