➕ The server works :)
This commit is contained in:
9
entrypoint.sh
Executable file
9
entrypoint.sh
Executable 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
|
Reference in New Issue
Block a user