3 Star 5 Fork 2

mirrors_KillianLucas/open-interpreter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 879 Bytes
一键复制 编辑 原始数据 按行查看 历史
killian 提交于 2024-07-10 13:34 . Server fixes
###########################################################################################
# This Dockerfile runs an LMC-compatible websocket server at / on port 8000. #
# To learn more about LMC, visit https://docs.openinterpreter.com/protocols/lmc-messages. #
###########################################################################################
FROM python:3.11.8
# Set environment variables
# ENV OPENAI_API_KEY ...
ENV HOST 0.0.0.0
# ^ Sets the server host to 0.0.0.0, Required for the server to be accessible outside the container
# Copy required files into container
RUN mkdir -p interpreter scripts
COPY interpreter/ interpreter/
COPY scripts/ scripts/
COPY poetry.lock pyproject.toml README.md ./
# Expose port 8000
EXPOSE 8000
# Install server dependencies
RUN pip install ".[server]"
# Start the server
ENTRYPOINT ["interpreter", "--server"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_KillianLucas/open-interpreter.git
git@gitee.com:mirrors_KillianLucas/open-interpreter.git
mirrors_KillianLucas
open-interpreter
open-interpreter
main

搜索帮助