File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11FROM python:3.6.4-alpine3.7
22
3- RUN apk add --update curl gcc g++ git libffi-dev openssl-dev python3-dev \
3+ RUN apk add --update curl gcc g++ git libffi-dev openssl-dev python3-dev build-base linux-headers \
44 && rm -rf /var/cache/apk/*
55RUN ln -s /usr/include/locale.h /usr/include/xlocale.h
66
77ENV PYTHONUNBUFFERED=1 ENVIRONMENT=pre APP_HOME=/microservice/
8+ ENV CONFIGMAP_FILE="$APP_HOME" tests/config-tests.yml
89RUN mkdir $APP_HOME && adduser -S -D -H python
910
1011RUN chown -R python $APP_HOME
12+ RUN chmod 777 $APP_HOME
1113WORKDIR $APP_HOME
1214ADD requirement*.txt $APP_HOME
1315RUN pip install -r requirements-docker.txt
Original file line number Diff line number Diff line change 66 SQLALCHEMY_TRACK_MODIFICATIONS : true
77 SECRET_KEY : " gjr39dkjn344_!67#"
88 DATABASE : db.sqlite3
9- SQLALCHEMY_DATABASE_URI : sqlite:///db.sqlite3
9+ SQLALCHEMY_DATABASE_URI : sqlite:////microservice/ db.sqlite3
Original file line number Diff line number Diff line change 11-r requirements.txt
22gevent==1.3.7
33gunicorn==19.9.0
4+ psutil==5.4.8
Original file line number Diff line number Diff line change 11Flask-SQLAlchemy == 2.3.2
2- py-ms == 0.1.1
3- SQLAlchemy == 1.2.13
2+ # py-ms==0.1.1
3+ git+https://github.com/python-microservices/pyms.git@master#egg=py-ms
4+ Flask-Script == 2.0.6
5+ connexion [swagger-ui ]
Original file line number Diff line number Diff line change 66 SQLALCHEMY_TRACK_MODIFICATIONS : true
77 SECRET_KEY : " gjr39dkjn344_!67#"
88 DATABASE : db_test.sqlite3
9- SQLALCHEMY_DATABASE_URI : sqlite:///db_test.sqlite3
9+ SQLALCHEMY_DATABASE_URI : sqlite:////microservice/ db_test.sqlite3
You can’t perform that action at this time.
0 commit comments