Added Dockerfile
Based on docker-caddy, this Dockerfile checks out kitinfo/timers and kitinfo-timers-data and builds the database back from the dump, and serves the contents
This commit is contained in:
commit
b487569c66
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM docker.jcg.re/docker-caddy
|
||||
|
||||
RUN apk add \
|
||||
php7 \
|
||||
sqlite3 \
|
||||
git
|
||||
|
||||
RUN cd /var/www && git clone https://github.com/kitinfo/timers.git .
|
||||
|
||||
RUN cd /var/www && mkdir receive_hook && mkdir db_dump
|
||||
|
||||
RUN cd /var/www && git clone https://git.finallycoffee.eu/jonaWantsCoffee/kitinfo-timers-data.git .
|
||||
|
||||
ADD receive_hook /var/www/receive_hook
|
||||
|
||||
EXPOSE 80
|
Loading…
Reference in New Issue
Block a user