File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 11FROM phusion/baseimage:0.9.16
22
3- # Forked from: https://github.com/fideloper/docker-nginx-php
4- # Other components and inspiration from: https://github.com/dmyers/docker-laravel
5-
3+ # Phusion setup
64ENV HOME /root
7-
85RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
96
107CMD ["/sbin/my_init" ]
@@ -17,7 +14,7 @@ RUN apt-get update -y && sudo apt-get upgrade -y && apt-get install -y php5 php5
1714 php5-gd php5-mcrypt php5-intl php5-imap php5-tidy php-pear php5-xmlrpc \
1815 nodejs
1916
20- # Install nginx
17+ # Install nginx (full)
2118RUN apt-get install -y nginx-full
2219
2320# Add build script
@@ -43,8 +40,7 @@ ADD build/index.php /var/www/public/index.php
4340RUN chown -R www-data:www-data /var/www
4441RUN chmod -R 755 /var/www
4542
46- # RUN chown www-data:www-data -R /var/www/app/storage
47-
43+ # Port and Volume settings
4844EXPOSE 80
4945VOLUME /var/www
5046
You can’t perform that action at this time.
0 commit comments