We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7a6d6 commit db9a320Copy full SHA for db9a320
Dockerfile
@@ -1,10 +1,10 @@
1
FROM php:5.6-apache
2
3
+RUN apt-get update && apt-get install -y rsync && rm -r /var/lib/apt/lists/*
4
+
5
RUN a2enmod rewrite
6
-RUN rm -rf /var/www/html && mkdir /var/www/html
7
VOLUME /var/www/html
-WORKDIR /var/www/html
8
9
ENV WORDPRESS_VERSION 4.0.0
10
ENV WORDPRESS_UPSTREAM_VERSION 4.0
@@ -14,6 +14,6 @@ RUN curl -SL http://wordpress.org/wordpress-${WORDPRESS_UPSTREAM_VERSION}.tar.gz
14
15
COPY docker-entrypoint.sh /entrypoint.sh
16
17
+# grr, ENTRYPOINT resets CMD now
18
ENTRYPOINT ["/entrypoint.sh"]
-EXPOSE 80
19
CMD ["apache2", "-DFOREGROUND"]
docker-apache.conf
0 commit comments