b487569c66
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
17 lines
352 B
Docker
17 lines
352 B
Docker
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
|