Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
laosb committed Aug 22, 2017
1 parent b4cca1c commit 21a60d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
FROM php:7.1-apache
RUN docker-php-ext-install pdo pdo_mysql && mkdir /var/www/html/protected && mkdir /var/www/html/protected/tmp && chmod 777 /var/www/html/protected/tmp/ -R
RUN a2enmod rewrite && \
docker-php-ext-install pdo pdo_mysql && \
mkdir /var/www/html/protected && \
mkdir /var/www/html/protected/tmp && \
chmod 777 /var/www/html/protected/tmp/ -R
COPY . /var/www/html/

0 comments on commit 21a60d2

Please sign in to comment.