Commit dd624b7e authored by Jason Frisvold's avatar Jason Frisvold
Browse files

- Rearrange

- Delete Smarty from /var/www/html
- Set permissions
parent 681863d2
Pipeline #415 failed with stages
in 17 seconds
......@@ -3,6 +3,10 @@ FROM php:apache
MAINTAINER Jason Frisvold <friz@godshell.com>
LABEL Description="phpTodo"
ADD --chown=www-data:www-data . /var/www/html
ADD --chown=www-data:www-data Smarty /var/www/Smarty
# set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php
RUN { \
echo 'opcache.memory_consumption=128'; \
......@@ -18,9 +22,6 @@ RUN docker-php-ext-install mysqli \
&& pecl install APCu \
&& docker-php-ext-enable apcu \
&& mkdir /var/www/smarty
ADD . /var/www/html
ADD Smarty /var/www/Smarty
&& rm -Rf /var/www/html/Smarty
EXPOSE 80
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment