Last active
December 20, 2015 13:17
-
-
Save sujal/4dc6ff3a42db2794e40b to your computer and use it in GitHub Desktop.
The dockerfile used to build the production image
This file contains 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