[add] Downloading composer dependencies

This commit is contained in:
Jose Pabl Domingo Aramburo Sanchez 2018-08-10 06:53:13 +00:00
parent 4928481f72
commit 18ee0ad333

View File

@ -20,21 +20,10 @@ ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2 ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2 ENV APACHE_LOCK_DIR /var/lock/apache2
# Expose apache
#EXPOSE 80
# Copy this repo into place.
#ADD . /var/www/site
WORKDIR /var/www/site WORKDIR /var/www/site
# Testing permisions COPY composer.json .
#RUN chmod 777 -R . RUN composer install
# Installing dependencies
#RUN composer install
# Unit tests
#RUN composer test
# Update the default apache site with the config we created. # Update the default apache site with the config we created.
ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf