From 64bf3222af347e78ba7018ec60f3a0cf8647d62e Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Mon, 9 May 2016 15:45:54 +0300 Subject: [PATCH] set php work directory to laravel's directory --- php/Dockerfile | 2 ++ php/laravel.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index 8332527a..56487971 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -14,6 +14,8 @@ RUN docker-php-ext-install \ RUN usermod -u 1000 www-data +WORKDIR /var/www/laravel + CMD ["php-fpm"] EXPOSE 9000 diff --git a/php/laravel.ini b/php/laravel.ini index b0e572de..3580140c 100644 --- a/php/laravel.ini +++ b/php/laravel.ini @@ -1,3 +1,3 @@ date.timezone = UTC display_errors = Off -log_errors = On +log_errors = On \ No newline at end of file