From 98e3ad4a94f2e3ebfde533fbb919c6330f2e048f Mon Sep 17 00:00:00 2001 From: Justin Xiao Date: Wed, 27 Sep 2023 03:09:27 +0800 Subject: [PATCH] build: add dockerfile and gunicorn --- Dockerfile | 2 +- app.py => wsgi.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename app.py => wsgi.py (100%) diff --git a/Dockerfile b/Dockerfile index 7cc0153..7d485b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ WORKDIR /app COPY . /app EXPOSE 5000 -CMD exec gunicorn --bind :5000 --workers 5 --worker-class gevent app:app +CMD exec gunicorn --bind :5000 --workers 5 --worker-class gevent wsgi:wsgi diff --git a/app.py b/wsgi.py similarity index 100% rename from app.py rename to wsgi.py