FROM php:7.4.1-apache

COPY config.php /etc/vn-autoconfig/
COPY apache.conf /etc/apache2/conf-enabled/vn-autoconfig.conf
COPY \
    autoconfig.xml \
    autodiscover.xml \
    index.php \
    ./

RUN a2enmod rewrite