Commit 5730c9c3 authored by Ivar Refsdal's avatar Ivar Refsdal

Constraint docker memory usage

parent 6cb789b8
FROM python:2.7-onbuild
EXPOSE 8090
CMD [ "uwsgi", "--plugin", "python", "--http-socket", ":8090", "--wsgi-file", "saveserver.py" ]
CMD [ "python", "./gunicorn_flask.py" ]
......@@ -4,4 +4,4 @@ set -ex
docker build --tag=docker.nsd.no/programvareutvikling/python-file-submission-poc .
docker run --publish=8090:8090 docker.nsd.no/programvareutvikling/python-file-submission-poc
docker run --memory="100M" --publish=8090:8090 docker.nsd.no/programvareutvikling/python-file-submission-poc
uWSGI==2.0.14
Werkzeug==0.11.8
flask==0.11.1
gunicorn==19.6.0
\ No newline at end of file
gunicorn==19.6.0
psutil==4.1.0
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment