Azure / Azure/MachineLearningNotebooks
Custom Dockerfile on Azure Environment with python poetry
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 4.4k
- Forks
- 2.6k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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 😃
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece pelo ponto de entrada Environment.from_pip_requirements() e pelo exemplo de Dockerfile personalizado na issue. Investigue como os ambientes do Azure lidam com pyproject.toml e as dependências do Poetry e identifique se é necessário suporte ou documentação. Considera-se concluído quando houver um fluxo de trabalho claramente compatível para usar Poetry com um ambiente personalizado do Azure.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- azure, docker, python
- Domínio
- build-system, cloud, machine-learning
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100