11 lines
261 B
Python
11 lines
261 B
Python
from pathlib import Path
|
|
|
|
import uvicorn
|
|
|
|
# Ensure storage directory exists
|
|
storage_dir = Path("/app/storage/db")
|
|
storage_dir.mkdir(parents=True, exist_ok=True)
|
|
|
|
if __name__ == "__main__":
|
|
uvicorn.run("app.main:app", host="0.0.0.0", port=8000, reload=True)
|