9 Star 95 Fork 51

Vanishi/xclabel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 474 Bytes
一键复制 编辑 原始数据 按行查看 历史
kkkbbb 提交于 2025-03-05 03:56 +08:00 . update Dockerfile.
# 使用官方的 Python 3.8 镜像作为基础镜像
FROM python:3.8-slim
# 设置工作目录
WORKDIR /xclabel
# 复制项目文件到容器中
COPY . .
# 在容器内安装相关依赖
RUN apt-get update && apt-get install -y \
libgl1-mesa-glx \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/* \
&& python -m pip install --upgrade pip \
&& pip install -r requirements-linux.txt
# 启动服务
CMD ["python", "manage.py", "runserver", "0.0.0.0:9924"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Vanishi/xclabel.git
git@gitee.com:Vanishi/xclabel.git
Vanishi
xclabel
xclabel
master

搜索帮助