
Docker image that builds and hosts a Gatsby site
If you’re a developer looking to streamline the deployment of your Gatsby site, the Gatsby Docker image offers a convenient solution. This community-maintained project enables you to easily build and host your Gatsby applications in a Dockerized environment. Although it currently does not support the latest features from Gatsby v3 and beyond, it remains a valuable tool for projects that do not require these advanced functionalities.
The Docker image supports multiple tags, ensuring that you can choose the right setup for your needs. Whether you're looking to serve your assets directly in production with Nginx or build your project into a new Docker image, this tool can help you simplify your workflow.
latest for production use with Nginx and onbuild for building your project into a new Docker image.--env-file flag to simplify your Docker run command.CACHE_IGNORE and CACHE_PUBLIC.CACHE_PUBLIC_EXPIRATION to manage how long assets remain in cache.