From 1a497608e80d115b1ee01d62e12deb18d05e84b7 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Thu, 8 Mar 2018 23:07:45 -0500 Subject: [PATCH] Add deploy scripts and docker file. --- Dockerfile | 2 ++ build.sh | 4 ++++ push.sh | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 Dockerfile create mode 100644 build.sh create mode 100644 push.sh diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1d3b638 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx +COPY _site /usr/share/nginx/html diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..5e61d1e --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +jekyll build +docker build -t cr.annabunch.es/annabunches-static . diff --git a/push.sh b/push.sh new file mode 100644 index 0000000..0164241 --- /dev/null +++ b/push.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker push cr.annabunch.es/annabunches-static