Some launch changes and configuration changes to the Dockerfile

This commit is contained in:
Matthew Jones
2015-06-05 11:18:27 -04:00
parent 4d2fba15ab
commit a8d75783a3
3 changed files with 11 additions and 3 deletions

View File

@@ -23,7 +23,8 @@ RUN mkdir -p /data/db
ADD license /etc/awx/license
ADD license /etc/tower/license
RUN /etc/init.d/postgresql start; cd /tower ; make migrate ; make init ; /etc/init.d/postgresql stop
ADD start_local.sh /start_local.sh
ADD start_everything.sh /start_everything.sh
ADD start_development.sh /start_development.sh
EXPOSE 8013 8080 27017
CMD ./start_local.sh
CMD /start_development.sh