gatsby-docker icon indicating copy to clipboard operation
gatsby-docker copied to clipboard

How to run a local project

Open DaniCastel opened this issue 5 years ago • 0 comments

Hi, could you please show me the command to dockerize a local project? the following always create a new starter gatsby site.

docker run -it --rm -v $(pwd)/.:/site -p 8000:8000 aripalo/gatsby-docker develop

docker run -it --rm -v $(pwd)/site:/site -p 8000:8000 aripalo/gatsby-docker develop

I'm running them in the root of my project, which has a package.json

Thanks

DaniCastel avatar May 24 '19 15:05 DaniCastel