As this container is based on Rocker R Studio it's best to refer to their documentation for how to run this image. All I've added is additional packages. Rocker R Studio Documentation
The Dockerfile provides an example of how one can install packages on top of Rocker's R Studio.