Commit a0f0e4e3 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Improved Dockerfile build.

parent 20a35eaa
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -36,6 +36,14 @@ RUN apt-get install libpq-dev -y
# Docker
RUN apt-get install docker.io -y

#------------------------------
# Viz
#------------------------------
RUN apt install python-pygraphviz graphviz-dev -y
RUN pip3 install django-extensions pygraphviz
# Example usage: rosetta/shell webapp "cd /opt/code && python3 manage.py graph_models core_app --exclude-models LoginToken,Text -o ORM.png"


#------------------------------
# Install Django project
#------------------------------
@@ -63,14 +71,6 @@ COPY db_conf.sh /db_conf.sh
RUN mkdir /var/log/webapp/ && chown rosetta:rosetta /var/log/webapp/


#------------------------------
# Viz
#------------------------------
RUN apt install python-pygraphviz graphviz-dev -y
RUN pip3 install django-extensions pygraphviz
# Example usage: rosetta/shell webapp "cd /opt/code && python3 manage.py graph_models core_app --exclude-models LoginToken,Text -o ORM.png"


#------------------------------
# Supervisord
#------------------------------