Skip to content

Instantly share code, notes, and snippets.

@pablocattaneo
Last active March 4, 2023 15:29
Show Gist options
  • Save pablocattaneo/6aa48142d9ad0ce37a37281f4323a9f5 to your computer and use it in GitHub Desktop.
Save pablocattaneo/6aa48142d9ad0ce37a37281f4323a9f5 to your computer and use it in GitHub Desktop.
# source https://stackoverflow.com/questions/52961824/run-gatsby-with-docker-compose
# docker run -p 8000:80 -v $(pwd):/app -w [WORKDIR PATH] [IMAGE ID] yarn develop-docker
docker run -p 8000:80 -v $(pwd):/app -w /app fe9a4b9e181a yarn develop
"scripts": {
"develop-docker": "gatsby develop -H 0.0.0.0",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment