Skip to content

Commit 63924f8

Browse files
committed
Merge branch 'feature/update_dependencies'
2 parents 15b47eb + 2ea8988 commit 63924f8

File tree

5 files changed

+74
-83
lines changed

5 files changed

+74
-83
lines changed

Pipfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ name = "pypi"
55

66
[packages]
77
flask = "*"
8-
jaeger-client = "==3.12.0"
9-
python-json-logger = "==0.1.10"
10-
pyyaml = "==4.2b4"
11-
anyconfig = "==0.9.8"
12-
swagger-ui-bundle = "==0.0.2"
13-
connexion = {extras = ["swagger-ui"],version = "==2.1.0"}
8+
jaeger-client = "==3.13.0"
9+
python-json-logger = ">=0.1.10"
10+
pyyaml = ">=4.2b4"
11+
anyconfig = ">=0.9.8"
12+
swagger-ui-bundle = ">=0.0.2"
13+
connexion = {extras = ["swagger-ui"],version = ">=2.2.0"}
1414
flask-opentracing = "==0.2.0"
15+
tornado = "==5.1.1"
1516

1617
[dev-packages]
1718
requests-mock = "*"

Pipfile.lock

Lines changed: 63 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/mininum_microservice_docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ RUN mkdir $APP_HOME && adduser -S -D -H python
1010
RUN chown -R python $APP_HOME
1111
WORKDIR $APP_HOME
1212

13-
ADD requirement*.txt $APP_HOME
1413
RUN pip install --upgrade pip
15-
RUN pip install -r requirements.txt
14+
RUN pip install -r py-ms gunicorn gevent
15+
1616

1717
ADD . $APP_HOME
1818

examples/mininum_microservice_docker/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
ms = Microservice(service="my-minimal-microservice", path=__file__)
66
app = ms.create_app()
77

8+
89
@app.route("/")
910
def example():
1011
return jsonify({"main": ms.config.environment})
1112

13+
1214
if __name__ == '__main__':
1315
app.run()

examples/mininum_microservice_docker/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)