aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Pipfile b/Pipfile
index 54f4847..e8dae92 100644
--- a/Pipfile
+++ b/Pipfile
@@ -12,13 +12,14 @@ flask = "*"
flask-sockets = "*"
gevent = "==1.2.2"
gevent-websocket = "*"
+gunicorn = "*"
[requires]
python_version = "3.6"
[scripts]
snekbox = "python snekbox.py"
-snekweb = "python snekweb.py"
+snekweb = "gunicorn -w 1 -b 0.0.0.0:5000 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker snekweb:app"
buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ."
buildweb = "docker build -t pythondiscord/snekboxweb:latest -f docker/Dockerfile.webapp ."
pushbox = "docker push pythondiscord/snekbox:latest"