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: