Dheeraj-13 commited on
Commit
8608cb6
·
1 Parent(s): 290a7ea

Emergency root deployment

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. app.py +8 -0
Dockerfile CHANGED
@@ -30,8 +30,8 @@ RUN python mi_platform/data/ingestion.py
30
  # Expose port
31
  EXPOSE 7860
32
 
33
- # Run simplified dashboard that will work
34
- CMD ["python", "-m", "streamlit", "run", "mi_platform/ui/dashboard_simple.py", \
35
  "--server.port=7860", \
36
  "--server.address=0.0.0.0", \
37
  "--server.headless=true", \
 
30
  # Expose port
31
  EXPOSE 7860
32
 
33
+ # Run root app
34
+ CMD ["streamlit", "run", "app.py", \
35
  "--server.port=7860", \
36
  "--server.address=0.0.0.0", \
37
  "--server.headless=true", \
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.set_page_config(page_title="Emergency Deployment", layout="centered")
4
+
5
+ st.title("It Works!")
6
+ st.success("The deployment pipeline is functional.")
7
+ st.write("This is a single file at the root of the repository.")
8
+ st.write("If you see this, we can now start adding your code back piece by piece.")