dockerfile

This commit is contained in:
Yax 2021-07-30 19:26:21 +02:00
parent 2c2efccb18
commit 9e539545b8
3 changed files with 87 additions and 0 deletions

15
docker/docker-init.sh Normal file
View file

@ -0,0 +1,15 @@
#!/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