Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noteed/docker-hakyll

Build a Hakyll site with Docker
https://github.com/noteed/docker-hakyll

Last synced: about 2 months ago
JSON representation

Build a Hakyll site with Docker

Awesome Lists containing this project

README

        

# docker-hakyll

This repository holds a Dockerfile (to create a Docker image) to clone and
build a Hakyll website.

You can build your own image or use
[`noteed/hakyll`](https://index.docker.io/u/noteed/hakyll/) which was built
with this Dockerfile.

When the image is run, it will clone a Git repository, enter it, and run the
Hakyll `site.hs` executable the repository is supposed to contain. The
resulting static web site can be copied using `docker cp`.

> docker run -d noteed/hakyll [email protected]:user/repository.git
51a79e169b9b
> docker wait 51a79e169b9b
0
> docker cp 51a79e169b9b:/home/hakyll/clone/_site .