diff --git a/gen_service/Dockerfile b/gen_service/Dockerfile index fd80943..b0b21dc 100644 --- a/gen_service/Dockerfile +++ b/gen_service/Dockerfile @@ -7,4 +7,4 @@ COPY . /app RUN poetry install -ENTRYPOINT ["poetry", "run", "gunicorn", "wsgi:app", "--bind", "0.0.0.0:5000"] \ No newline at end of file +ENTRYPOINT ["poetry", "run", "gunicorn", "-c", "gunicorn_config.py", "wsgi:app", "--bind", "0.0.0.0:5000"] \ No newline at end of file diff --git a/gen_service/gunicorn_config.py b/gen_service/gunicorn_config.py new file mode 100644 index 0000000..7816aa4 --- /dev/null +++ b/gen_service/gunicorn_config.py @@ -0,0 +1 @@ +timeout = 120