prod #123

Merged
finley merged 122 commits from prod into master 2025-11-22 17:52:40 -08:00
Showing only changes of commit f2917c11bc - Show all commits

View file

@ -29,12 +29,14 @@ EXPOSE 80
# RUN sed -i "s/error_reporting = .*$/error_reporting = E_ERROR | E_WARNING | E_PARSE/" /etc/php5/apache2/php.ini
# ADD conf/php.ini /etc/php5/apache2/php.ini
# Update the default apache site with the config we created.
ADD conf/apache-vhost.conf /opt/docker/etc/httpd/vhost.common.d/cmc-sales.conf
# Copy vhost config to Apache's sites-available
ADD conf/apache-vhost.conf /etc/apache2/sites-available/cmc-sales.conf
ADD conf/ripmime /bin/ripmime
RUN chmod +x /bin/ripmime
RUN a2dissite 000-default
RUN chmod +x /bin/ripmime \
&& a2ensite cmc-sales \
&& a2dissite 000-default
# Copy site into place.
ADD . /var/www/cmc-sales