-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathDockerfile_gaia
More file actions
43 lines (31 loc) · 1.54 KB
/
Dockerfile_gaia
File metadata and controls
43 lines (31 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM python:3.11-slim AS base
RUN mkdir -p /app/aworld
WORKDIR /app/aworld
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN rm -fv /etc/apt/sources.list.d/* && \
echo "deb [trusted=yes] https://mirrors.aliyun.com/debian bookworm main contrib non-free non-free-firmware" > /etc/apt/sources.list && \
echo "deb [trusted=yes] https://mirrors.aliyun.com/debian bookworm-updates main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
echo "deb [trusted=yes] https://mirrors.aliyun.com/debian bookworm-backports main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
echo "deb [trusted=yes] https://mirrors.aliyun.com/debian-security bookworm-security main contrib non-free non-free-firmware" >> /etc/apt/sources.list && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y wget unzip openssh-client procps nodejs npm
# Config Env
RUN npx playwright install chrome
RUN npm install @playwright/mcp @negokaz/excel-mcp-server
# GAIA Docker Image
FROM base AS gaia_env
# Install aworld
COPY ./aworld aworld
COPY ./setup.py setup.py
RUN python setup.py install
# Copy examples
COPY ./examples/ examples
# Create GAIA benchmark directory
RUN mkdir -p gaia-benchmark/fs && \
mkdir -p gaia-benchmark/logs && \
mkdir -p static
ENV PYTHONPATH=/app/aworld${PYTHONPATH:+:${PYTHONPATH}}
ENV GAIA_DATASET_PATH=/app/aworld/examples/gaia/GAIA/2023
ENV LOG_FILE_PATH=/app/aworld/gaia-benchmark/logs
CMD [ "python", "examples/gaia/gaia_agent_server.py" ]