Jofax commited on
Commit
14f70e6
·
verified ·
1 Parent(s): e035773

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
  FROM python:3.11-slim
2
 
 
3
  RUN apt-get update && apt-get install -y \
4
  git curl nodejs npm ffmpeg libsm6 libxext6 r-base \
5
  && rm -rf /var/lib/apt/lists/*
@@ -7,10 +8,10 @@ RUN apt-get update && apt-get install -y \
7
  WORKDIR /app
8
  COPY . .
9
 
10
- # Install Python stack from requirements
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Crucial for agents that need to "see" or "browse"
14
  RUN playwright install-deps && playwright install chromium
15
 
16
  CMD ["python", "app.py"]
 
1
  FROM python:3.11-slim
2
 
3
+ # Install system tools for research and web browsing
4
  RUN apt-get update && apt-get install -y \
5
  git curl nodejs npm ffmpeg libsm6 libxext6 r-base \
6
  && rm -rf /var/lib/apt/lists/*
 
8
  WORKDIR /app
9
  COPY . .
10
 
11
+ # Install Python dependencies
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
+ # Install browsers for the researcher agent
15
  RUN playwright install-deps && playwright install chromium
16
 
17
  CMD ["python", "app.py"]