This commit is contained in:
jinql
2025-09-03 20:07:41 +08:00
parent a5290c5e03
commit 452e110ee5
15 changed files with 156 additions and 47 deletions

View File

@@ -29,5 +29,9 @@ RUN find . -name "*.py" -delete
EXPOSE 8000
VOLUME ["/app/data", "/app/conf", "/app/logs"]
ENTRYPOINT ["entrypoint.sh"]
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["gunicorn", "--config", "gunicorn.conf.pyc", "main:app"]
CMD ["gunicorn", "-c", "conf/gunicorn.conf.pyc", "main:app"]