diff --git a/README.md b/README.md index e20ec38..9f5b421 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,21 @@ hugo ``` The complete website will be placed in the `public` directory. + +## Building the container image + +This website can be used as a container image; to do so in docker: + +```sh +docker build -t libreschool-website . +``` + +Then you can run the image: + +```sh +docker run -d -p 6080:80 libreschool-website +``` + +With the above command, the website will be reachable via HTTP to port 6080. + +It's also possible do bind mount the container's `/logs` directory, to expose nginx logs.