dockerfile
This commit is contained in:
parent
2c2efccb18
commit
9e539545b8
3 changed files with 87 additions and 0 deletions
15
docker/docker-init.sh
Normal file
15
docker/docker-init.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue