feat: add dokuwiki (#504)

Co-authored-by: Hane <inupwd@gmail.com>
Co-committed-by: Hane <inupwd@gmail.com>
This commit is contained in:
Hane 2025-10-23 21:15:21 +00:00 committed by cătălin
commit 8b341ede57
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,13 @@
FROM docker.io/library/debian:latest
ARG WIKI_NAME="dokuwiki"
ARG WEB_DIR="/var/www"
ARG APACHE_CONFIG_DIR="/etc/apache2"
EXPOSE 443/tcp
USER root
RUN apt-get update && apt-get full-upgrade -y && apt-get install vim apache2 libapache2-mod-php w3m php-cli php-xml -y
RUN rm ${APACHE_CONFIG_DIR}/sites-enabled/000-default.conf && a2enmod ssl
RUN ["/bin/bash", "-c", "echo 'date.timezone = \"Europe/Madrid\"' >> /etc/php/*/apache2/php.ini"]
STOPSIGNAL SIGWINCH