@@ -14,6 +14,6 @@ COPY requirements.txt ./
RUN pip3 install -r requirements.txt
-COPY app.py db.py extra_api.py game_api.py sources.py lib.py ./
+COPY app.py db.py extra_api.py game_api.py sources.py lib.py gunicorn.conf.py ./
-CMD gunicorn --workers=1 --bind=0.0.0.0:5000 app:app
+CMD gunicorn app:app
@@ -0,0 +1,5 @@
+workers = 1
+threads = 4
+worker_tmp_dir = "/dev/shm"
+
+bind = "0.0.0.0:5000"