Public Repository

Last pushed: 7 months ago
Short Description
Documentation site for VP Front
Full Description

This image was built based on that one https://hub.docker.com/r/siphanbou/documentation-site/, which in turn was based on https://hub.docker.com/r/kyma/docker-nginx/, as we were testing the automated pulling and pushing of an image using GitLab's CI tool.

This Nginx base image is meant to serve static websites.

In our case, we are using it to automate the serving of a documentation site that we build using the site generator MkDocs (http://www.mkdocs.org/). That's why, in the Dockerfile, the directory where the built site is is called site/, as it's the one built by default by MkDocs.

If the directory where your site is is called differently, simply replace ./site/ in the Dockerfile with your own directory name, then build your own image with:

$ docker build -t yoursite .
...
Successfully built 5ae2fb5cf4f8
$ docker run -p 80:80 -d yoursite
da809981545f
$ curl localhost
...

Otherwise, to pull the image:
$ docker pull siphanbou/vpdocu

To run the image and serve your static site locally:
$ docker run -p 80:80 -d siphanbou/vpdocu

$ curl localhost

Docker Pull Command
Owner
siphanbou

Comments (0)