-
Notifications
You must be signed in to change notification settings - Fork 96
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
Can we add more lib packages like CV2 or Pilllow ? #56
Comments
Related #37 |
1、find the linux pakages the CV2 or Pillow needs and add them in conf file which shows in the FAQ 2、find the system call CV2 or Pillow needs and add it in the https://github.com/langgenius/dify-sandbox/blob/main/internal/static/python_syscall/syscalls_amd64.go if you do not konw you can add all the sys call 。such as from number 0 to 500 0,1,2,3,4,5...500 3、add the linxu package and apt-install them in the docker file 4、build the source code and rewrite the dockfile file(pip3 install your package ) |
These are the steps for creating new dockerfile of sandbox to support cv2/Pillow or these are solutions for it? Thank you :) |
Hi,
I'm new with sandbox, I just want to know if I can add more lib packages like CV2 or Pillow for image processing ?
If yes, please show me how.
Thanks and regards.
The text was updated successfully, but these errors were encountered: