Files
kjvstudy.org/kjvstudy_org/main.py
T
kennethreitz d61c0fc5a5 Update Docker container to use FastAPI CLI directly
Remove package installation step and use FastAPI CLI with PYTHONPATH
for simpler container execution. Disable reload in main.py and include
static/templates as package data for proper distribution.
2025-05-26 13:12:08 -04:00

17 lines
298 B
Python

import uvicorn
from .server import app
def main():
"""Main entry point for the KJV Study application."""
uvicorn.run(
"kjvstudy_org.server:app",
host="0.0.0.0",
port=8000,
reload=False,
log_level="info"
)
if __name__ == "__main__":
main()