1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-12 04:23:04 +02:00
dockerfiles/dokuwiki/Dockerfile

31 lines
694 B
Docker
Raw Normal View History

2015-05-19 12:42:59 +02:00
#
2015-08-24 18:13:01 +02:00
# Dockerfile for dokuwiki
2015-05-19 12:42:59 +02:00
#
2014-12-17 09:34:20 +02:00
2015-08-24 18:13:01 +02:00
FROM alpine
2015-05-19 12:42:59 +02:00
MAINTAINER kev <noreply@datageek.info>
2014-12-17 09:34:20 +02:00
2015-05-19 12:42:59 +02:00
WORKDIR /var/www/html
2014-12-17 09:34:20 +02:00
2015-08-26 07:43:42 +02:00
RUN apk add -U nginx \
php-fpm \
php-xml \
tar \
2015-08-24 18:13:01 +02:00
&& wget -O- http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz | tar xz --strip 1 \
&& chown -R nobody:nobody . \
&& rm -rf /var/cache/apk/*
COPY nginx.conf /etc/nginx/nginx.conf
2014-12-17 09:34:20 +02:00
2015-05-19 12:42:59 +02:00
VOLUME /var/www/html/data/pages \
/var/www/html/data/meta \
/var/www/html/data/media \
/var/www/html/data/media_attic \
/var/www/html/data/media_meta \
/var/www/html/data/attic \
/var/www/html/conf
2014-12-17 09:34:20 +02:00
2015-08-24 18:13:01 +02:00
EXPOSE 80
CMD php-fpm && nginx -g 'daemon off;'