Gatsby development docker project
Example project to develop application with GatsbyJS using Docker.
This project use bmeme/gatsby-dev image from BMEME.
TL;DR
Create and run the docker container
$ docker-compose up -d
Run the Gatsby CLI to create your project
$ rm app/.gitkeep
$ ./gatsby new .
Run your application
$ ./gatsby develop
Documentation
Start the docker development container
$ docker-compose up -d
Create a new gatsby project
$ rm app/.gitkeep
$ ./gatsby new .
Run gatsby develop
$ ./gatsby develop --host=0.0.0.0
Run gatsby serve
$ ./gatsby build && ./gatsby serve --host=0.0.0.0
Install a gatsby plugin
$ ./npm install gatsby-plugin-styled-components styled-components babel-plugin-styled-components