Administration/Dockerfile
Abel Hoogeveen 63ea659d5b All changes as implemented over the last 3 years.
Pushes Administration into a workable state.
2023-02-08 12:57:10 +01:00

12 lines
490 B
Docker
Executable File

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
RUN chmod -R 777 /usr/src/admin/test/temp