Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pandatools opened this issue Oct 21, 2024 · 0 comments
Open

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

pandatools opened this issue Oct 21, 2024 · 0 comments

Comments

@pandatools
Copy link

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就不存在了,

截图

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant