You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/docker/docker-init.sh

15 lines
220 B
Bash

#!/bin/bash
# clone and build blog
cd /
rm -rf /blog
git clone https://github.com/kianby/blog.git
cd /blog
make
# nginx serve
#nginx -g 'daemon off;'
nginx
# exit on change in stacosys or Git repo
python3 monitor.py