Renamed ebook_backend&admin_panel to ebook_backend_admin_panel The & character was being interpreted by shell as background process operator, causing 'Dockerfile not found' errors in Coolify.
8 lines
270 B
Python
8 lines
270 B
Python
from fastapi.templating import Jinja2Templates
|
|
import os
|
|
|
|
BASE_DIR = os.path.dirname(__file__)
|
|
PARENT_DIR = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
|
|
TEMPLATE_DIR = os.path.join(PARENT_DIR, "admin-frontend")
|
|
|
|
templates = Jinja2Templates(directory=TEMPLATE_DIR) |