Added pip and python to install requirements in docker file

This commit is contained in:
2020-10-06 14:41:19 +02:00
parent a24b5365b1
commit d5a2dba76d
2 changed files with 5 additions and 2 deletions

View File

@@ -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"]

View File

@@ -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