From de3cf6354f50addf3d405567b857387c486fb94c Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Sat, 2 Mar 2019 09:20:04 +0100 Subject: [PATCH] Add Dockerfile and build script --- 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..4d015a3 --- /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/data-coop-website .