docker optimizations

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-05-17 18:16:24 -04:00
parent d2da2f74ef
commit 5f704cdea4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ RUN apk add -U ca-certificates libffi libstdc++ && \
EXPOSE 8080
CMD ["gunicorn", "-b", "0.0.0.0:8080", "httpbin:app"]
CMD ["gunicorn", "-b", "0.0.0.0:8080", "httpbin:app", "-k", "gevent"]
+1 -1
View File
@@ -35,6 +35,6 @@ setup(
include_package_data = True, # include files listed in MANIFEST.in
install_requires=[
'Flask', 'MarkupSafe', 'decorator', 'itsdangerous', 'six', 'brotlipy',
'raven[flask]', 'werkzeug>=0.14.1'
'raven[flask]', 'werkzeug>=0.14.1', 'gevent'
],
)