1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:29 +02:00
dockerfiles/dokuwiki/Dockerfile

34 lines
774 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 \
2015-08-26 14:29:05 +02:00
php-curl \
2015-08-26 07:43:42 +02:00
php-fpm \
2015-08-26 14:29:05 +02:00
php-openssl \
2015-08-26 07:43:42 +02:00
php-xml \
2015-08-26 14:29:05 +02:00
php-zip \
2015-08-26 07:43:42 +02:00
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;'