mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
Initial commit
This commit is contained in:
parent
e5d70f3f21
commit
a9c69cf5c2
1 changed files with 23 additions and 0 deletions
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
FROM python:3.9.17-slim-bullseye
|
||||
|
||||
#Special gifts for mainland China users :)
|
||||
#Change to your own preferenced mirrors if you wish, just uncomment them is fine too.
|
||||
#Below is pip mirror and apt mirror setup
|
||||
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list &&\
|
||||
apt update &&\
|
||||
apt install -y git curl wget build-essential gcc clang g++ make &&\
|
||||
curl -sL https://deb.nodesource.com/setup_19.x | bash - &&\
|
||||
apt install -y nodejs
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm config set registry https://registry.npm.taobao.org &&\
|
||||
npm install -g @mermaid-js/mermaid-cli &&\
|
||||
git clone https://github.com/geekan/metagpt
|
||||
RUN cd metagpt &&\
|
||||
mkdir workspace &&\
|
||||
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ &&\
|
||||
pip install -r requirements.txt &&\
|
||||
python setup.py install
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue