A Docker image for serving static websites using Nginx.
4.6K
Web Server
This Docker image is built on top of the bsantanna/base image and includes Nginx for serving static websites. It is designed to support web server tasks, providing a consistent and reliable environment for hosting static content.
To run a container using this image and start the Nginx server, use the following command:
docker run -it --rm -p 80:80 -v $(pwd)/website:/var/www/html/website bsantanna/nginx-static:latest
This command will start a container, expose port 80, mount the current directory's website folder to the Nginx web root, and start the Nginx server, allowing you to serve static content.
Content type
Image
Digest
sha256:ee6762dfa…
Size
275.9 MB
Last updated
4 months ago
docker pull bsantanna/nginx-static:arm64