https://github.com/noteed/docker-hakyll
Build a Hakyll site with Docker
https://github.com/noteed/docker-hakyll
Last synced: about 1 year ago
JSON representation
Build a Hakyll site with Docker
- Host: GitHub
- URL: https://github.com/noteed/docker-hakyll
- Owner: noteed
- Created: 2013-09-01T16:38:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-05-01T09:36:07.000Z (about 12 years ago)
- Last Synced: 2023-04-13T10:31:54.353Z (about 3 years ago)
- Language: Shell
- Size: 117 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 git@github.com:user/repository.git
51a79e169b9b
> docker wait 51a79e169b9b
0
> docker cp 51a79e169b9b:/home/hakyll/clone/_site .