diff --git a/Dockerfile b/Dockerfile index 62762fa..567f68c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,7 @@ MAINTAINER Larry Price ENV DEBIAN_FRONTEND noninteractive -RUN apt-get update -RUN apt-get install git -y --force-yes -RUN apt-get install postgresql -y --force-yes -RUN apt-get install sendmail sendmail-bin -y --force-yes -RUN apt-get install wkhtmltopdf -y --force-yes -RUN apt-get install supervisor -y --force-yes -RUN apt-get install apache2 -y --force-yes -RUN apt-get install libapache2-mod-php5 -y --force-yes -RUN apt-get install php5-pgsql -y --force-yes +RUN apt-get update && apt-get install git postgresql sendmail sendmail-bin wkhtmltopdf supervisor apache2 libapache2-mod-php5 php5-pgsql -y --force-yes RUN service postgresql start diff --git a/README.md b/README.md index 3ba0a11..6a9bb57 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ RosarioSIS uses a Postgres database: ``` bash $ docker create --name rosariodb postgres:9.4 -$ docker run -d --link rosariodb:rosariodb rosariosis +$ docker run -d -p 80:80 --link rosariodb:rosariodb rosariosis ``` Port 80 will be exposed, so you can visit `localhost` to get started. The default username is `admin` and the default password is `admin`.