Azure / Azure/MachineLearningNotebooks

Custom Dockerfile on Azure Environment with python poetry

オープン
#1,655 コメント 0 件 リアクション 5 件 担当者 0 名 GitHub で見る
主要言語
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 😃

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。