Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jojomi/docker-lighttpd-static
Docker container for serving static content using lighttpd
https://github.com/jojomi/docker-lighttpd-static
Last synced: 3 months ago
JSON representation
Docker container for serving static content using lighttpd
- Host: GitHub
- URL: https://github.com/jojomi/docker-lighttpd-static
- Owner: jojomi
- License: mit
- Created: 2015-04-26T06:59:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-27T15:08:19.000Z (almost 9 years ago)
- Last Synced: 2024-08-01T12:28:16.135Z (6 months ago)
- Language: HTML
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - jojomi/docker-lighttpd-static - Docker container for serving static content using lighttpd (others)
README
# docker-lighttpd-static
Docker container for serving static content using lighttpd
## Executing
docker run --name "my-lighttpd" -P -v $(pwd)/example-content:/var/www jojomi/lighttpd-static
Find your container:
docker ps | grep "my-lighttpd"
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ba00b5c238fc jojomi/lighttpd-static:latest "lighttpd -D -f /etc 1 second ago Up 1 second 0.0.0.0:49153->80/tcp my-lighttpdCheck if it works:
curl localhost:49153
This is your content.## Building The Image Yourself (optional)
docker build -t jojomi/lighttpd-static .
The image is conveniently small at **below 7 MB** thanks to [alpine](http://gliderlabs.viewdocs.io/docker-alpine):
docker images | grep lighttpd
jojomi/lighttpd-static latest b2e7a8364baa 1 second ago 6.451 MB