PabloVD commited on
Commit
1096944
·
1 Parent(s): 453e0c3

Clone instead of pip install as library

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -49,8 +49,10 @@ COPY --chown=user . $HOME/app
49
 
50
  RUN pip uninstall -y langgraph || true
51
 
52
- # Install Denario app
53
- RUN pip install git+https://github.com/AstroPilot-AI/DenarioApp
 
 
54
 
55
  # This informs Docker that the container will listen on port 5000 at runtime.
56
  EXPOSE 8501
@@ -61,4 +63,4 @@ RUN touch .env
61
  # Command to run the app
62
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
63
 
64
- CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
49
 
50
  RUN pip uninstall -y langgraph || true
51
 
52
+ # Clone and install Denario app
53
+ RUN git clone https://github.com/AstroPilot-AI/DenarioApp.git
54
+
55
+ RUN pip install DenarioApp
56
 
57
  # This informs Docker that the container will listen on port 5000 at runtime.
58
  EXPOSE 8501
 
63
  # Command to run the app
64
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
65
 
66
+ CMD ["streamlit", "run", "DenarioApp/src/app.py", "--server.port=8501", "--server.address=0.0.0.0"]