From 5f050e9c749bc8ac3c2aa85836a02c93a5961ee7 Mon Sep 17 00:00:00 2001 From: Jack Goh Date: Tue, 17 Jul 2018 17:42:36 +0800 Subject: [PATCH] fix build error --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c995eb92..5de098f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,9 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di RUN docker-php-ext-install pdo pdo_mysql zip gd WORKDIR /app COPY . /app -RUN php artisan clear-compiled + RUN composer install +RUN php artisan clear-compiled RUN composer update --no-scripts COPY wait.sh /usr/local/bin/wait.sh