Find answers from the community

Updated 3 months ago

Docker

Hi Team and , I've done local dev on llama index and it works fine and now wanting to promote this to this. We build a docker image and while trying to run the image we get a regex package error. Has anyone encountered this error before? It only seems to complain about the regex package and it fails at that and the application crashes.
Attachment
image.png
L
G
4 comments
Seems like your docker image somehow doesn't have regex installed?

Not sure how that happened. Maybe just add it to your reqs? Or maybe you need a docker image with a newer python version
@Logan M Thanks for your reply. I checked the layers of the docker image and could see the regex package is there, however I did notice that the ._regex file isn't there, simply regex, hence it can't find it. Weird.
I've tried different base images as well, do we have any guide for deployment on a docker container? Works fine locally/.
No guide really. What base images did you try? What does the dockerfile look like?
Add a reply
Sign up and join the conversation on Discord