template-python / main.py
npv2k1's picture
feat: update Docker setup with new base image, enhance build workflow, and improve error logging in main application
98fb351
raw
history blame
386 Bytes
#!/usr/bin/env python3
import logging
import os
from pathlib import Path
from typing import Dict
def main() -> None:
"""Main application entry point."""
try:
print("Start app...")
import src.modules.api
except Exception as e:
logging.error(f"Application failed to start: {e}", exc_info=True)
raise
if __name__ == "__main__":
main()