File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11flask
22flask-cors
3- flask_sqlalchemy
43flask_restx
54Werkzeug
65marshmallow
Original file line number Diff line number Diff line change 11#! /bin/bash
22SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
3- services=(" api" " persistence" " gsheets " " dataprocessing" " base" " pubmed" " openaire" )
3+ services=(" api" " persistence" " dataprocessing" " base" " pubmed" " openaire" )
44for service in ${services[@]} ; do
5+ echo " "
6+ echo " Building $service "
7+ echo " "
58 docker build -f " $SCRIPT_DIR /../workers/$service /Dockerfile" -t " $service :` git rev-parse HEAD` " " $SCRIPT_DIR /../"
69done
7-
Original file line number Diff line number Diff line change 1- FROM python:3.6.11-slim
1+ FROM python:3.7
22
33MAINTAINER Chris Kittel "christopher.kittel@openknowledgemaps.org"
44
@@ -8,6 +8,7 @@ RUN apt-get install -y libpq-dev
88
99WORKDIR /persistence
1010COPY workers/persistence/requirements.txt .
11+ RUN pip install --upgrade pip
1112RUN pip install --no-cache-dir -r requirements.txt
1213RUN pip install git+https://github.com/python-restx/flask-restx
1314COPY workers/persistence/src/ ./
You can’t perform that action at this time.
0 commit comments