Boris-code/feapder

新worker镜像打包,使用poetry 包管理失败

pandatools opened this issue · 0 comments

FROM registry.cn-hangzhou.aliyuncs.com/feapderd/feaplat_worker:2.6
COPY pyproject.toml ./

RUN pip install poetry -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
RUN poetry source add --priority=default mirrors https://pypi.tuna.tsinghua.edu.cn/simple/
RUN poetry install

问题
使用peotry进行第三方包安装,直接 docker run 运行这个镜像时,poetry 存在,然后我在平台上部署使用,peotry就不存在了,

截图