From 2d112180766dca63c1c129b0c0b755c8358191ea Mon Sep 17 00:00:00 2001 From: Jose Pablo Domingo Aramburo Sanchez Date: Thu, 9 Aug 2018 13:42:13 -0600 Subject: [PATCH] [fix] php volume --- api-payroll/Dockerfile | 10 +++++----- docker-compose.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api-payroll/Dockerfile b/api-payroll/Dockerfile index d4fdc8f..d107d16 100644 --- a/api-payroll/Dockerfile +++ b/api-payroll/Dockerfile @@ -21,20 +21,20 @@ ENV APACHE_LOG_DIR /var/log/apache2 ENV APACHE_LOCK_DIR /var/lock/apache2 # Expose apache -EXPOSE 80 +#EXPOSE 80 # Copy this repo into place. -ADD . /var/www/site +#ADD . /var/www/site WORKDIR /var/www/site # Testing permisions -RUN chmod 777 -R . +#RUN chmod 777 -R . # Installing dependencies -RUN composer install +#RUN composer install # Unit tests -RUN composer test +#RUN composer test # Update the default apache site with the config we created. ADD apache-config.conf /etc/apache2/sites-enabled/000-default.conf diff --git a/docker-compose.yml b/docker-compose.yml index eb9029a..66e6b7a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: ports: - "8085:80" volumes: - - api-payroll:/var/www/site + - ./api-payroll:/var/www/site depends_on: - mysql mysql: