1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/dokuwiki/Dockerfile.debian

25 lines
627 B
Docker
Raw Normal View History

2015-08-24 18:13:01 +02:00
#
# Dockerfile for DokuWiki
#
# References
# - https://github.com/docker-library/drupal/blob/master/8/Dockerfile
# - https://www.dokuwiki.org/faq:backup
#
2022-01-24 05:11:33 +02:00
FROM php:8-apache
MAINTAINER EasyPi Software Foundation
2015-08-24 18:13:01 +02:00
WORKDIR /var/www/html
RUN a2enmod rewrite
2022-01-24 05:11:33 +02:00
RUN curl -sSL "http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" | tar xz --strip 1
2015-08-24 18:13:01 +02:00
RUN chown -R www-data:www-data .
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