From 0e2e780c0b0acf2db0cfce0db5b1bc79543ec41b Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 2 Mar 2019 20:13:07 +0100 Subject: [PATCH] Dockerize the website --- Dockerfile | 3 +++ build.sh | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 Dockerfile create mode 100755 build.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6fa6f52 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx:alpine +EXPOSE 80 +COPY _site/ /usr/share/nginx/html diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..a187134 --- /dev/null +++ b/build.sh @@ -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 .