Last active
December 20, 2015 13:17
The dockerfile used to build the production image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM wordpress:latest | |
COPY wordpress/wp-content/themes/ /usr/src/wordpress/wp-content/themes/ | |
RUN chown -R www-data:www-data /usr/src/wordpress/wp-content/themes/* | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update -q -q && \ | |
apt-get install apt-utils --yes --force-yes && \ | |
apt-get -y install rsync | |
ADD apache/default-ssl.conf /etc/apache2/sites-available/default-ssl.conf | |
RUN a2enmod rewrite | |
RUN a2enmod ssl | |
RUN a2ensite default-ssl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment