Add Dockerfile and build script

This commit is contained in:
Jesper Hess 2021-01-28 22:30:56 +01:00
parent 613224d45a
commit f50e6ca85f
Signed by: graffen
GPG Key ID: 351A89E40D763F0F
2 changed files with 8 additions and 0 deletions

4
Dockerfile Normal file
View File

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

4
build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
docker run --rm -v "$(pwd):/srv/jekyll" jekyll/jekyll jekyll build
docker build -t docker.graffen.io/graffen.dk-website .