DEV Community

Discussion on: My Docker Setup For GatsbyJS (and NextJS)

Collapse
stoutlabs profile image
Daniel Stout Author

Based on that error, it looks like there was no package.json file found.

Do you have the Dockerfile and docker-compose.yml files in the root of your Gatsby project directory?