Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Godshell
phpTodo
Commits
dd624b7e
Commit
dd624b7e
authored
Feb 15, 2019
by
Jason Frisvold
Browse files
- Rearrange
- Delete Smarty from /var/www/html - Set permissions
parent
681863d2
Pipeline
#415
failed with stages
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
dd624b7e
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment