Browse Source

Dockerize the website

test-notifier
Jesper Hess Nielsen 9 months ago
parent
commit
0e2e780c0b
Signed by: Jesper Hess Nielsen <jesper@graffen.dk> GPG Key ID: 351A89E40D763F0F
2 changed files with 6 additions and 0 deletions
  1. 3
    0
      Dockerfile
  2. 3
    0
      build.sh

+ 3
- 0
Dockerfile View File

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

+ 3
- 0
build.sh View File

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

Loading…
Cancel
Save