From 1310f15c3d04a457c38c3803e5348c98eeb8bb80 Mon Sep 17 00:00:00 2001 From: creyD Date: Thu, 29 Oct 2020 15:01:55 +0100 Subject: [PATCH] New try removing the python dependencies --- Dockerfile | 1 - entrypoint.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 565cd1c..c4bce97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/entrypoint.sh b/entrypoint.sh index 165de16..1e5d00d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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