Update Dockerfile
Browse files- 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
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
#
|
| 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"]
|