Cannot pip install if using Rasa full image

Hey guys, I want to create my own web service, using rasa-nlu. However when I tried to wrap it as a Docker image, I found I cannot do any pip install because of permission error. Can someone help?

Dockerfile looks like:

FROM rasa/rasa:latest-full

RUN pip install flask-restplus

Error looks like:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/build/lib/python3.6/site-packages/aniso8601'
Consider using the `--user` option or check the permissions.

Also, I cannot ‘apt-get’ to install anything as well, and I dont have ‘sudo’. Is this by designed for rasa/rasa:latest-full?

Yes. You cannot install any package with this image. But you can build your own Docker image with the original Dockerfile in the Github Repository and add your dependency in the requirements.txt.