diff --git a/Dockerfile b/Dockerfile index cfd542a..a7990ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ FROM node:lts-alpine3.9 -RUN apk update && apk add --no-cache bash git openssh +RUN apk update && apk add --no-cache bash git openssh python py-pip + +RUN pip install --no-cache-dir -q --upgrade pip +RUN pip install --no-cache-dir -q django-extensions pyparsing pydot + COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 5e62a77..2168c88 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,7 +28,6 @@ _git_changed() { # PROGRAM echo "Installing dependencies..." pip install -r $INPUT_PIP_PATH -pip install django-extensions pyparsing pydot echo "Creating data model..." python manage.py graph_models -a -g-o $INPUT_OUTPUT_PATH