harry-lu-0708 Cursor commited on
Commit
d8db70a
·
1 Parent(s): f7f7568

Include case-study-memory in Docker build for Case Study mode

Browse files

- Remove case-study-memory from .dockerignore
- Add COPY case-study-memory to Dockerfile
- Deployed Space will now show all preloaded memos (memo_1-5)

Co-authored-by: Cursor <cursoragent@cursor.com>

Files changed (2) hide show
  1. .dockerignore +1 -1
  2. Dockerfile +3 -1
.dockerignore CHANGED
@@ -16,7 +16,7 @@ __pycache__/
16
  tmp_*
17
  rsync_tmp_*
18
  workspace/
19
- case-study-memory/
20
  tmp_brain/
21
  tmp_ml/
22
  tmp_ml2/
 
16
  tmp_*
17
  rsync_tmp_*
18
  workspace/
19
+ # case-study-memory/ - include for Case Study mode to show preloaded memos
20
  tmp_brain/
21
  tmp_ml/
22
  tmp_ml2/
Dockerfile CHANGED
@@ -21,10 +21,12 @@ RUN pip install --upgrade pip && pip install -r requirements.txt -v
21
  # Copy application code
22
  COPY scievo/ /app/scievo/
23
  COPY streamlit-client/ /app/streamlit-client/
 
 
24
 
25
  WORKDIR /app/streamlit-client
26
 
27
- # Runtime writable dirs
28
  RUN mkdir -p case-study-memory workspace tmp_brain
29
 
30
  EXPOSE 7860
 
21
  # Copy application code
22
  COPY scievo/ /app/scievo/
23
  COPY streamlit-client/ /app/streamlit-client/
24
+ # Copy case studies for Case Study mode (browse saved chats without API)
25
+ COPY case-study-memory/ /app/streamlit-client/case-study-memory/
26
 
27
  WORKDIR /app/streamlit-client
28
 
29
+ # Runtime writable dirs (ensure exist even if case-study-memory is empty)
30
  RUN mkdir -p case-study-memory workspace tmp_brain
31
 
32
  EXPOSE 7860