|
@@ -1,4 +1,4 @@
|
|
-FROM girish/base:0.3
|
|
|
|
|
|
+FROM girish/base:0.5
|
|
MAINTAINER Girish Ramakrishnan <girish@forwardbias.in>
|
|
MAINTAINER Girish Ramakrishnan <girish@forwardbias.in>
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
@@ -9,13 +9,7 @@ RUN mkdir -p /app/code && cd /app/code \
|
|
&& rm latest.tar.gz \
|
|
&& rm latest.tar.gz \
|
|
&& chown -R www-data.www-data /app/code
|
|
&& chown -R www-data.www-data /app/code
|
|
|
|
|
|
-RUN ln -s /etc/apache2/sites-available/php_app.conf /etc/apache2/sites-enabled/php_app.conf
|
|
|
|
-
|
|
|
|
-RUN cp /app/configs/supervisor/apache2.conf /etc/supervisor/conf.d/apache2.conf
|
|
|
|
-RUN cp /app/configs/supervisor/mysql.conf /etc/supervisor/conf.d/mysql.conf
|
|
|
|
-
|
|
|
|
ADD scripts/ /app/scripts/
|
|
ADD scripts/ /app/scripts/
|
|
-RUN chmod +x /app/scripts/*
|
|
|
|
|
|
|
|
ADD wp-config.php /app/configs/wp-config.php
|
|
ADD wp-config.php /app/configs/wp-config.php
|
|
|
|
|
|
@@ -24,4 +18,4 @@ RUN ln -s /app/data/wp-config.php /app/code/wp-config.php
|
|
|
|
|
|
EXPOSE 80
|
|
EXPOSE 80
|
|
|
|
|
|
-CMD [ "/app/scripts/start_supervisor.sh" ]
|
|
|
|
|
|
+CMD [ "/app/scripts/start.sh", "--lamp" ]
|