diff options
| author | 2018-05-30 19:52:07 +0200 | |
|---|---|---|
| committer | 2018-05-30 19:52:07 +0200 | |
| commit | 7f756fd7f709bc74b3eb558dccb44607844fedb4 (patch) | |
| tree | 5844b9023466373233094a5de2ae3c192dd9b67b /Pipfile | |
| parent | typo in debug output (diff) | |
secure python execution
make snekbox a class
adds nsjail 2.5 (compiled on alpine 3.7)
execute python code via nsjail
Diffstat (limited to 'Pipfile')
| -rw-r--r-- | Pipfile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,12 +14,16 @@ gevent = "==1.2.2" gevent-websocket = "*" gunicorn = "*" "flake8" = "*" +pytest = "*" +pytest-cov = "*" +pytest-dependency = "*" [requires] python_version = "3.6" [scripts] lint = "flake8" +test = "py.test tests --cov . --cov-report term-missing -v" snekbox = "python snekbox.py" snekweb = "gunicorn -w 2 -b 0.0.0.0:5000 --log-level debug -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker snekweb:app" buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ." |