aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-02 18:54:04 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-02 18:54:04 -0600
commitb835384ccbc9d3eb7fa6416b84b86c2525aa6943 (patch)
tree4a7512bd957428ad1362f34ef6a0532973569e68 /Dockerfile
parent8566e595832e5c6ee3f5131ac497a2aaed697a46 (diff)
downloadboringcactus.com-b835384ccbc9d3eb7fa6416b84b86c2525aa6943.tar.gz
boringcactus.com-b835384ccbc9d3eb7fa6416b84b86c2525aa6943.zip
experiment with Docker
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..731b784
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM jekyll/jekyll AS build
+COPY . /srv/jekyll
+RUN jekyll build
+
+FROM nginx
+COPY --from=build /srv/jekyll/_site /usr/share/nginx/html