Azure / Azure/MachineLearningNotebooks
Custom Dockerfile on Azure Environment with python poetry
- 主要语言
- Jupyter Notebook
- 星标
- 4.4k
- 派生
- 2.6k
- PR 合并指标
- 30 天内没有已合并 PR
描述
Its really helpful to work with custom environment on clouds. Azure currently has options to work directly with conda dependencies or requirements.txt.(for instance Environment.from_pip_requirements(), )
i was wondering if there was a way to also work directly with poetry toml files same way or use them easily in dockerfile.
i am new to working with custom dockerfile on Azure, maybe i am missing out something here?
At the moment i tried to use with Docker but it did not quite work.
`FROM python:3.8-slim-buster
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
POETRY_VERSION=1.1.7 \
PYLINT_VERSION=2.9.4
RUN pip install pylint==$PYLINT_VERSION \
&& pip install "poetry==$POETRY_VERSION"
COPY pyproject.toml ./
RUN poetry config virtualenvs.create false `
Thanks 😃
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 Environment.from_pip_requirements() 入口点和 issue 中的自定义 Dockerfile 示例开始。调查 Azure 环境如何处理 pyproject.toml 和 Poetry 依赖项,并确定是否需要支持或文档。完成的标准是:存在一个明确受支持的工作流,用于在自定义 Azure 环境中使用 Poetry。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- azure, docker, python
- 领域
- build-system, cloud, machine-learning
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100