|
@@ -47,10 +47,6 @@ RUN sed -e "s,MaxSpareServers[^:].*,MaxSpareServers 5," -i /etc/apache2/mods-ava
|
|
|
|
|
|
RUN a2disconf other-vhosts-access-log
|
|
RUN a2disconf other-vhosts-access-log
|
|
RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
|
RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
|
-
|
|
|
|
-RUN ln -sf /app/data/apache2-app.conf /etc/apache2/sites-available/app.conf
|
|
|
|
-RUN ln -sf /etc/apache2/sites-available/app.conf /etc/apache2/sites-enabled/app.conf
|
|
|
|
-
|
|
|
|
RUN a2enmod rewrite
|
|
RUN a2enmod rewrite
|
|
|
|
|
|
# configure mod_php
|
|
# configure mod_php
|
|
@@ -61,7 +57,8 @@ RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 8M && \
|
|
|
|
|
|
RUN mv /etc/php/7.0/apache2/php.ini /etc/php/7.0/apache2/php.ini.orig && ln -sf /app/data/php.ini /etc/php/7.0/apache2/php.ini
|
|
RUN mv /etc/php/7.0/apache2/php.ini /etc/php/7.0/apache2/php.ini.orig && ln -sf /app/data/php.ini /etc/php/7.0/apache2/php.ini
|
|
|
|
|
|
-ADD apache2-app.conf /app/code/apache2-app.conf
|
|
|
|
|
|
+# configure site
|
|
|
|
+COPY apache2-app.conf /etc/apache2/sites-enabled/app.conf
|
|
|
|
|
|
# configure proftpd
|
|
# configure proftpd
|
|
ADD proftpd.conf /app/code/proftpd.conf.template
|
|
ADD proftpd.conf /app/code/proftpd.conf.template
|