-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCKER: Outdated Dockerfile custom dependencies documentation #157
Comments
Thanks for the issue, @dakshvar22 will get back to you about it soon! You may find help in the docs and the forum, too 🤗 |
@kremio Since version 1.8.0 the image does not longer run as
|
I'll also clarify that in the docs! :-) |
in the
|
Thanks @ankitbansal811 🚀 Too many CAPS 😄 |
Rasa version:
1.8.0
Rasa SDK version:
1.8.0
Python version:
not relevant
Operating system (windows, osx, ...):
not relevant
Issue:
With the current Docker image of RASA SDK, installing custom Python dependencies using the instructions provided on https://hub.docker.com/r/rasa/rasa-sdk does not work.
For instance, building the following Dockerfile:
results in the following pip error:
The reason is that the RASA SDK Dockerfile switches the build environment to a user with insufficient privileges:
rasa-sdk/Dockerfile
Line 31 in a048b2b
One possible solution is to sandwich the
RUN pip
commands betweenUSER root
andUSER 1001
, so the previous broken Dockerfile becomes:Error (including full traceback):
Command or request that led to error:
Content of configuration file (config.yml) (if relevant):
Content of domain file (domain.yml) (if relevant):
Contents of actions.py (if relevant):
The text was updated successfully, but these errors were encountered: