[fix] php volume

This commit is contained in:
Jose Pablo Domingo Aramburo Sanchez 2018-08-09 13:42:13 -06:00
parent 59a4d6e4a5
commit 2d11218076
2 changed files with 6 additions and 6 deletions

View File

@ -21,20 +21,20 @@ ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2 ENV APACHE_LOCK_DIR /var/lock/apache2
# Expose apache # Expose apache
EXPOSE 80 #EXPOSE 80
# Copy this repo into place. # Copy this repo into place.
ADD . /var/www/site #ADD . /var/www/site
WORKDIR /var/www/site WORKDIR /var/www/site
# Testing permisions # Testing permisions
RUN chmod 777 -R . #RUN chmod 777 -R .
# Installing dependencies # Installing dependencies
RUN composer install #RUN composer install
# Unit tests # Unit tests
RUN composer test #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

View File

@ -6,7 +6,7 @@ services:
ports: ports:
- "8085:80" - "8085:80"
volumes: volumes:
- api-payroll:/var/www/site - ./api-payroll:/var/www/site
depends_on: depends_on:
- mysql - mysql
mysql: mysql: