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:
jreichmann 2018-06-03 19:57:27 +02:00
commit b487569c66

16
Dockerfile Normal file
View 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