New try removing the python dependencies

This commit is contained in:
2020-10-29 15:01:55 +01:00
parent 70db1bdc39
commit 1310f15c3d
2 changed files with 1 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
FROM alpine:3.12
RUN apk update && apk add --no-cache bash git gcc openssh python3 py3-pip graphviz graphviz-dev
RUN python3 -m pip install --upgrade pip setuptools wheel pyparsing pydot pygraphviz django-extensions django
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -27,7 +27,7 @@ _git_changed() {
# PROGRAM
echo "Installing dependencies..."
pip3 install --no-cache-dir -r $INPUT_PIP_PATH
pip3 install -r $INPUT_PIP_PATH
echo "Creating data model..."
cd $INPUT_PROJECT_PATH
python3 manage.py graph_models -a -g -o $INPUT_OUTPUT_PATH