umangchaudhry commited on
Commit
cdfe801
·
verified ·
1 Parent(s): b5dc06a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -6
Dockerfile CHANGED
@@ -33,13 +33,12 @@ COPY requirements.txt .
33
  RUN pip install --no-cache-dir --upgrade pip && \
34
  pip install --no-cache-dir -r requirements.txt
35
 
36
- # Copy application files
37
  COPY questionnaire_app.py .
38
  COPY questionnaire_rag.py .
39
- COPY questionnaire_parser.py .
40
 
41
- # Copy questionnaire data and vectorstores
42
- COPY questionnaire_data/ ./questionnaire_data/
43
  COPY questionnaire_vectorstores/ ./questionnaire_vectorstores/
44
 
45
  # Create a .streamlit directory and config
@@ -64,5 +63,4 @@ EXPOSE 7860
64
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
65
 
66
  # Command to run the application
67
- CMD ["streamlit", "run", "questionnaire_app.py", "--server.address", "0.0.0.0"]
68
-
 
33
  RUN pip install --no-cache-dir --upgrade pip && \
34
  pip install --no-cache-dir -r requirements.txt
35
 
36
+ # Copy application files (only runtime dependencies)
37
  COPY questionnaire_app.py .
38
  COPY questionnaire_rag.py .
 
39
 
40
+ # Copy vectorstore metadata (JSON files only - vectors are in Pinecone cloud)
41
+ # Only poll_catalog.json and questions_index.json are needed at runtime
42
  COPY questionnaire_vectorstores/ ./questionnaire_vectorstores/
43
 
44
  # Create a .streamlit directory and config
 
63
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health || exit 1
64
 
65
  # Command to run the application
66
+ CMD ["streamlit", "run", "questionnaire_app.py", "--server.address", "0.0.0.0"]