bsantanna/nginx-static

By bsantanna

Updated 4 months ago

A Docker image for serving static websites using Nginx.

Image
Networking
Internet of things
Web servers
0

4.6K

bsantanna/nginx-static repository overview

Category

Web Server

Overview with Usage Command
Overview

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.

Usage Command

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.

Tag summary

Content type

Image

Digest

sha256:ee6762dfa

Size

275.9 MB

Last updated

4 months ago

docker pull bsantanna/nginx-static:arm64