Hey @radhyr, I don't think the problem is setting docker as non-root user as it's not possible nor required on macOS. I guess the problem is the node version you are using according to my experiences with macOS M1. You can try using node v14 and build the image. If it still doesn't work then you can create an issue about it on Rafiki repo, I would like to help you with that.
Thanks for coming by @omertoast
It seems changing node version to v14 doesn't help me much here. Here's the error screenshot I got:
I opened an issue per your suggestion here:
I think this has to do with bcrypt failing in Docker m1 chip
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse