Dockerize the website

This commit is contained in:
Jesper Hess 2019-03-02 20:13:07 +01:00
rodič b69b91aac0
revize 0e2e780c0b
Podepsáno nedůvěryhodným uživatelem: graffen
ID GPG klíče: 351A89E40D763F0F
2 změnil soubory, kde provedl 6 přidání a 0 odebrání

3
Dockerfile Normal file
Zobrazit soubor

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

3
build.sh Executable file
Zobrazit soubor

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