correct app

This commit is contained in:
Jun-te Kim 2025-12-15 12:19:28 +00:00
parent de59b2e593
commit 29aad225a9
3 changed files with 14 additions and 14 deletions

View file

@ -28,7 +28,7 @@ RUN poetry config virtualenvs.create false \
COPY . /app
# Expose port (Render uses PORT env var)
EXPOSE 8000
EXPOSE 10000
# Run Dash app via Gunicorn
CMD ["gunicorn", "backend.src.dashboard.app:server", "--bind", "0.0.0.0:10000"]

View file

@ -8,19 +8,19 @@ from datetime import datetime, timedelta
import json
import os
# from backend.src.dashboard.services.file_manager import FileManager
# from backend.src.dashboard.services.json_reader import jsonReader
# from backend.src.dashboard.components.pivot_charts import (
# build_pivot_tables_and_charts,
# week_start_monday,
# )
from dashboard.services.file_manager import FileManager
from dashboard.services.json_reader import jsonReader
from dashboard.components.pivot_charts import (
from backend.src.dashboard.services.file_manager import FileManager
from backend.src.dashboard.services.json_reader import jsonReader
from backend.src.dashboard.components.pivot_charts import (
build_pivot_tables_and_charts,
week_start_monday,
)
# from dashboard.services.file_manager import FileManager
# from dashboard.services.json_reader import jsonReader
# from dashboard.components.pivot_charts import (
# build_pivot_tables_and_charts,
# week_start_monday,
# )
# -----------------------------------------------------
# Register Page
# -----------------------------------------------------

View file

@ -4,9 +4,9 @@ import dash
from dash import html, dcc, dash_table, Input, Output, State, ctx
import dash_bootstrap_components as dbc
import pandas as pd
from dashboard.services.file_manager import FileManager
from dashboard.services.json_reader import jsonReader
from dashboard.components.pivot_charts import week_start_monday
from backend.src.dashboard.services.file_manager import FileManager
from backend.src.dashboard.services.json_reader import jsonReader
from backend.src.dashboard.components.pivot_charts import week_start_monday
import os
import json