Skip to content
Snippets Groups Projects
Commit a0f0e4e3 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Improved Dockerfile build.

parent 20a35eaa
Branches
No related tags found
No related merge requests found
...@@ -36,6 +36,14 @@ RUN apt-get install libpq-dev -y ...@@ -36,6 +36,14 @@ RUN apt-get install libpq-dev -y
# Docker # Docker
RUN apt-get install docker.io -y 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 # Install Django project
#------------------------------ #------------------------------
...@@ -63,14 +71,6 @@ COPY db_conf.sh /db_conf.sh ...@@ -63,14 +71,6 @@ COPY db_conf.sh /db_conf.sh
RUN mkdir /var/log/webapp/ && chown rosetta:rosetta /var/log/webapp/ 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 # Supervisord
#------------------------------ #------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment