nginx-server-from-git/entrypoint.sh
Yohann D'ANELLO e3e32d4046 First version
2020-11-22 22:57:24 +01:00

9 lines
143 B
Bash
Executable File

#!/bin/sh
cd /var/www/html
[ -d .git ] || git clone ${NGINX_SERVER_GIT_URL} .
git pull
nginx&
python /hook/docker-hook -c sh /hook/update.sh