Chore: Started using gunicorn

This commit is contained in:
tanshu committed 2023-08-06 09:09:02 +05:30
1 parent 9ad411af65
commit f0cbe4a7de
6 files changed
+133 -8

No files matched your search

+1 -1
View File
@@ -50,4 +50,4 @@ RUN chmod 777 /app/docker-entrypoint.sh \
&& ln -s /app/docker-entrypoint.sh /
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["poetry", "run", "python", "-m", "brewman"]
CMD ["poetry", "run", "gunicorn", "brewman.main:app", "--worker-class", "uvicorn.workers.UvicornWorker", "--config", "/app/gunicorn.conf.py", "--log-config", "/app/logging.conf"]