aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Pipfile b/Pipfile
index 6b6aa24..986116d 100644
--- a/Pipfile
+++ b/Pipfile
@@ -31,7 +31,15 @@ lint = "flake8"
precommit = "pre-commit install"
test = "pytest tests --cov . --cov-report term-missing -v"
report = "pytest tests --cov . --cov-report=html"
-snekbox = "gunicorn -w 2 -b 0.0.0.0:8060 --logger-class snekbox.GunicornLogger --access-logfile - snekbox.api.app"
+snekbox = """
+ gunicorn
+ -w 2
+ -b 0.0.0.0:8060
+ --logger-class snekbox.GunicornLogger
+ --access-logformat '%(m)s %(U)s%(q)s %(s)s %(b)s %(L)ss'
+ --access-logfile -
+ snekbox.api.app
+"""
buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ."
pushbox = "docker push pythondiscord/snekbox:latest"
buildboxbase = "docker build -t pythondiscord/snekbox-base:latest -f docker/base.Dockerfile ."