From 18ee0ad333db8e305287605c40cdda7083c6990d Mon Sep 17 00:00:00 2001 From: Jose Pabl Domingo Aramburo Sanchez Date: Fri, 10 Aug 2018 06:53:13 +0000 Subject: [PATCH] [add] Downloading composer dependencies --- api-payroll/Dockerfile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/api-payroll/Dockerfile b/api-payroll/Dockerfile index d107d16..7b1ed62 100644 --- a/api-payroll/Dockerfile +++ b/api-payroll/Dockerfile @@ -20,21 +20,10 @@ ENV APACHE_RUN_GROUP www-data ENV APACHE_LOG_DIR /var/log/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 -# Testing permisions -#RUN chmod 777 -R . - -# Installing dependencies -#RUN composer install - -# Unit tests -#RUN composer test +COPY composer.json . +RUN composer install # Update the default apache site with the config we created. ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf