Administration/Dockerfile

12 lines
490 B
Docker
Raw Normal View History

FROM registry.i15.nl/i15/fuzephp:8.1-apache
MAINTAINER i15 <abel@i15.nl>
# Write application to image
ENV APACHE_DOCUMENT_ROOT /usr/src/admin/www
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
RUN a2enmod rewrite
# Amend permissions
COPY --chown=www-data . /usr/src/admin
2020-08-02 09:08:21 +00:00
RUN chmod -R 777 /usr/src/admin/test/temp