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
No related branches found
No related tags found
No related merge requests found
......@@ -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
#------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment