Browse Source

Dockerize the website

test-notifier
Jesper Hess 1 year ago
parent
commit
0e2e780c0b
Signed by: graffen <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 @@
FROM nginx:alpine
EXPOSE 80
COPY _site/ /usr/share/nginx/html

+ 3
- 0
build.sh View File

@@ -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 .

Loading…
Cancel
Save