gatsby-docker
gatsby-docker copied to clipboard
Not working on Linux
Hi !
I can't get to make it work on linux. I'm struggling with user permission as generate files are root privileged and I'm not able to edit them from my host IDE. Unless this problem, everything works like a charm.
Can you help ?
Same problem here! We need somehow to transfer and set user to docker container to create folder as a local user
Got it working with this (I am not sure it is correct solution yet):
docker run -it --rm -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd):/site -p 8000:8000 aripalo/gatsby-docker bin/sh