1 Star 2 Fork 0

科大讯飞/AutoSpark

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
ybyang 提交于 2023-09-13 10:07 +08:00 . add feat for : app traversal
FROM python:3.9
WORKDIR /app
#RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple/
RUN pip install --upgrade pip
RUN apt-get update && apt-get install --no-install-recommends -y rustc cargo
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install llama-index==0.6.35 -i https://pypi.python.org/simple
RUN pip config set global.index-url https://repo.model.xfyun.cn/api/packages/administrator/pypi/simple && pip config set global.extra-index-url https://pypi.mirrors.ustc.edu.cn/simple/
RUN pip install spark-ai-python websocket-client autospark-kit -i https://repo.model.xfyun.cn/api/packages/administrator/pypi/simple
COPY . .
COPY config.yaml ./config.yaml
COPY entrypoint.sh ./entrypoint.sh
COPY wait-for-it.sh ./wait-for-it.sh
RUN chmod +x ./entrypoint.sh ./wait-for-it.sh
CMD ["./wait-for-it.sh", "as__postgres:5432","-t","60","--","./entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/iflytek/AutoSpark.git
git@gitee.com:iflytek/AutoSpark.git
iflytek
AutoSpark
AutoSpark
main

搜索帮助