-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.github | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM python:3.10 as Builder | ||
RUN sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list.d/debian.sources && \ | ||
sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list.d/debian.sources | ||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \ | ||
pip3 install --upgrade pip # enable PEP 660 support | ||
WORKDIR /app | ||
# install libGL.so.1 | ||
RUN apt-get update && apt-get install libgl1 -y | ||
# install BMTools | ||
RUN git clone https://github.com/OpenBMB/BMTools.git --depth=1 | ||
RUN cd BMTools && \ | ||
pip install -r requirements.txt && \ | ||
python setup.py develop | ||
# install AgentVerse | ||
WORKDIR /app/AgentVerse | ||
COPY requirements*.txt ./ | ||
RUN pip install -r requirements.txt | ||
RUN pip install -r requirements_local.txt | ||
COPY . . | ||
RUN pip install -e . |