Ai
1 Star 0 Fork 0

AcmeStudio/AutogenStudioInDocker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 689 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mingor 提交于 2024-05-13 11:22 +08:00 . init
# Use the official Python image as the base image
FROM python:3.11-slim
# Set environment variables for better readability
ENV APP_HOME=/app \
PATH="/home/app/.local/bin:${PATH}" \
PYTHONPATH="/home/app/.local/bin:/app:${PYTHONPATH}"
# Create the application directory and set it as the working directory
WORKDIR $APP_HOME
RUN mkdir /data
# Copy the local code to the container
COPY . $APP_HOME
# Install latest version of autogenstudio
RUN pip install autogenstudio
# Confirm installation
RUN autogenstudio version
# Set the default command for the container
ENTRYPOINT ["autogenstudio", "ui", "--host", "0.0.0.0", "--port", "8081", "--appdir","/data"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/AcmeStudio/AutogenStudioInDocker.git
git@gitee.com:AcmeStudio/AutogenStudioInDocker.git
AcmeStudio
AutogenStudioInDocker
AutogenStudioInDocker
master

搜索帮助