Добавлена конфигурация для php

This commit is contained in:
ErickSkrauch 2016-05-29 23:38:19 +03:00
parent b5ed01853e
commit 98c01625d1
2 changed files with 6 additions and 1 deletions

View File

@ -47,13 +47,16 @@ RUN chmod a+x /usr/local/bin/composer
WORKDIR /var/www/html
# Custorm php configuration
COPY ./docker/php/php.ini /usr/local/etc/php/
# Copy the working dir to the image's web root
COPY . /var/www/html
# The following directories are .dockerignored to not pollute the docker images
# with local logs and published assets from development. So we need to create
# empty dirs and set right permissions inside the container.
RUN mkdir api/runtime api/web/assets console/runtime \
RUN mkdir -p api/runtime api/web/assets console/runtime \
&& chown www-data:www-data api/runtime api/web/assets console/runtime
# Expose everything under /var/www (vendor + html)

2
docker/php/php.ini Normal file
View File

@ -0,0 +1,2 @@
error_reporting = E_ALL;
display_errors = On;