diff --git a/Dockerfile b/Dockerfile index bbb367f..8887f53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM alpine:3.12 -RUN apk update && apk add --no-cache bash git openssh python3 +RUN apk update && apk add --no-cache bash git openssh python3 py3-pip RUN pip3 install --no-cache-dir -q --upgrade pip RUN pip3 install --no-cache-dir -q Django django-extensions pyparsing pydot diff --git a/entrypoint.sh b/entrypoint.sh index 53c2ecf..78a92d4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,10 +27,10 @@ _git_changed() { # PROGRAM echo "Installing dependencies..." -pip install -r $INPUT_PIP_PATH +pip3 install -r $INPUT_PIP_PATH echo "Creating data model..." cd $INPUT_PROJECT_PATH -python manage.py graph_models -a -g-o $INPUT_OUTPUT_PATH +python3 manage.py graph_models -a -g-o $INPUT_OUTPUT_PATH # To keep runtime good, just continue if something was changed if _git_changed;