-
Notifications
You must be signed in to change notification settings - Fork 32
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
Added Docker instructions #8
base: main
Are you sure you want to change the base?
Conversation
Hi, thanks for your contribution :-)
I'd like to merge this, but I'll have to test it with a x86 machine first and/or manage to get it to run on a ARM Mac. |
It might be because the node_modules on your host is a bit different from inside the container... see if it works if you |
But this might be the best solution still: add Technically, I think if you ran |
Yes, I guess that was the reason.
And I did try it with a newly cloned project. |
Hang on, that directory is underneath the node_modules - did you also add the |
I did add the
I'll see if I can find some time do delve into this, as I would like to understand what's going on here. |
Okay, I see that not all users have permission to volumes inside docker... I guess it's fine to run without the I'm racking my brain trying to think of a way to run it with this convenient oneliner in a portable way, without having to create an actual container that needs to be managed... |
So, turns out the only way is to run the container without -u, and then add the user, change permissions, and then run node as that user. There goes my 3-command oneliner. |
#6