diff --git a/Dockerfile b/Dockerfile index 47cacd0c8..b20f79937 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,8 +37,7 @@ RUN a2enmod rewrite ssl RUN echo "Mutex posixsem" >> /etc/apache2/apache2.conf COPY sample_configs/apache.conf /etc/apache2/sites-available/myradio.conf -RUN a2dissite 000-default && a2ensite myradio && \ - service apache2 restart && apachectl -S +RUN a2dissite 000-default && a2ensite myradio && apachectl -S COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer diff --git a/Dockerfile.prod b/Dockerfile.prod index 6379fee6d..5016701a7 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -27,8 +27,7 @@ RUN openssl req -nodes -new -subj "/C=GB/ST=North Yorkshire/L=York/O=University RUN a2enmod rewrite ssl COPY sample_configs/apache.conf /etc/apache2/sites-available/myradio.conf -RUN a2dissite 000-default && a2ensite myradio && \ - service apache2 restart && apachectl -S +RUN a2dissite 000-default && a2ensite myradio && apachectl -S COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer