The server works :)

This commit is contained in:
Yohann D'ANELLO
2020-06-10 16:50:00 +02:00
commit 900ec8b911
5 changed files with 161 additions and 0 deletions

9
entrypoint.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
[ -d .git ] || git clone ${MKDOCS_SERVER_GIT_URL} /docs
git pull
pip install -r requirements.txt
mkdocs build -d /site
nginx&
python /hook/docker-hook -c sh /hook/update.sh