StevenLe456 commited on
Commit
1232638
·
1 Parent(s): 3122083

I think I got it?

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. app.py +2 -0
Dockerfile CHANGED
@@ -8,4 +8,4 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
  COPY . .
10
 
11
- CMD ["uvicorn", "app:main", "--host", "0.0.0.0", "--port", "7860"]
 
8
 
9
  COPY . .
10
 
11
+ CMD ["uvicorn", "app:server", "--host", "0.0.0.0", "--port", "7860"]
app.py CHANGED
@@ -2,6 +2,8 @@ from dash import Dash, html
2
 
3
  app = Dash(__name__)
4
 
 
 
5
  app.layout = html.Div([
6
  html.Div(children='ODR Exploratory Data Analysis Dashboard')
7
  ])
 
2
 
3
  app = Dash(__name__)
4
 
5
+ server = app.server
6
+
7
  app.layout = html.Div([
8
  html.Div(children='ODR Exploratory Data Analysis Dashboard')
9
  ])