https://github.com/ivandotv/docker-nginx-static
This image is built for serving static content (think Gatsby sites) as fast as possible
https://github.com/ivandotv/docker-nginx-static
docker nginx static-site
Last synced: about 2 months ago
JSON representation
This image is built for serving static content (think Gatsby sites) as fast as possible
- Host: GitHub
- URL: https://github.com/ivandotv/docker-nginx-static
- Owner: ivandotv
- Created: 2020-01-20T22:17:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T15:05:47.000Z (over 6 years ago)
- Last Synced: 2025-03-03T16:50:06.370Z (over 1 year ago)
- Topics: docker, nginx, static-site
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Nginx Static
This image is built for serving static content (think Gatsby sites) as fast as possible. You can see the Nginx configuration by looking at the [build-assets](build-assets) directory.
features:
- static files are cached
- fonts are cached
- everything is gzipped
This image builds upon [`ivandotv/nginx-dockerize`](https://github.com/ivandotv/docker-nginx-dockerize). The upstream image uses templates for customizing the Nginx configuration. Please refer to that image to learn how to use templates.
## OnBuild version
There is another image that is built via [`Dockerfile-onbuild`](Dockerfile-onbuild) file. This image should be used as upstream (`FROM`) when you want to create a custom image with bundled content.
## Building images
You can build all images via [`build.sh`](build.sh) script.