From a7dc653a291b0a881fb0148e48d934e15fb4cb82 Mon Sep 17 00:00:00 2001 From: Carvallegro Date: Sat, 6 Jan 2018 21:15:47 +1100 Subject: [PATCH] Formatted the Dockerfile --- Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1d84c142..1562590ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,14 @@ FROM php:apache +RUN apt-get update && apt-get install -y zip libzip-dev libpng-dev \ + && docker-php-ext-install pdo_mysql gd zip \ + && rm -rf /var/lib/apt/lists/* + COPY . /var/www/html/ # Authorize these folders to be edited RUN chmod -R 777 /var/www/html/storage RUN chmod -R 777 /var/www/html/bootstrap/cache -RUN apt-get update && apt-get install -y zip libzip-dev libpng-dev \ - && docker-php-ext-install pdo_mysql gd zip \ - && rm -rf /var/lib/apt/lists/* - # Allow rewrite RUN a2enmod rewrite - -#CMD ["/bin/bash", "/opt/your_app/init.sh"] -# php -f ... -# php artisan make:command ConfigureApp --command=app:configure \ No newline at end of file