Sign inSign up

agileit/mini-webserver

By agileit

Updated over 5 years ago

fork from tubing/mini-webserver

Image
0

378

agileit/mini-webserver repository overview

mini-webserver

Provides a minimal webserver (via Express.js) to expose static files from the Docker host via HTTP. This image is build on Alpine Linux (base image mhart/alpine-node:0.10.40) and aims for a minimal size.

Usage

You can expose a local directory which you want to have served via the mini-webserver by starting it with

docker run --name mini-web -p 8080:3000 -v /path/to/local/folder:/app/public:ro -d agileit/mini-webserver

In this example, the port on the docker host where the mini-webserver is reachable is 8080.

Tag summary

Content type

Image

Digest

Size

40.1 MB

Last updated

over 5 years ago

docker pull agileit/mini-webserver