Skip to content

Commit 8e4de44

Browse files
committed
cleaned up dockerfile
1 parent 52ebfa1 commit 8e4de44

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
FROM 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
64
ENV HOME /root
7-
85
RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
96

107
CMD ["/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)
2118
RUN apt-get install -y nginx-full
2219

2320
# Add build script
@@ -43,8 +40,7 @@ ADD build/index.php /var/www/public/index.php
4340
RUN chown -R www-data:www-data /var/www
4441
RUN chmod -R 755 /var/www
4542

46-
#RUN chown www-data:www-data -R /var/www/app/storage
47-
43+
# Port and Volume settings
4844
EXPOSE 80
4945
VOLUME /var/www
5046

0 commit comments

Comments
 (0)