Dockerize the website

This commit is contained in:
Jesper Hess 2019-03-02 20:13:07 +01:00
父節點 b69b91aac0
當前提交 0e2e780c0b
由不信任的使用者簽署: graffen
GPG 金鑰 ID: 351A89E40D763F0F
共有 2 個檔案被更改,包括 6 行新增0 行删除

3
Dockerfile Normal file
查看文件

@ -0,0 +1,3 @@
FROM nginx:alpine
EXPOSE 80
COPY _site/ /usr/share/nginx/html

3
build.sh Executable file
查看文件

@ -0,0 +1,3 @@
#!/bin/bash
docker run --rm -v "$(pwd):/srv/jekyll" jekyll/jekyll jekyll build
docker build -t docker.data.coop/cryptohagen-website .