[Azure][ML][Python SDK][Environment][Docker] Docker copy missing context

Adrien 21 Reputation points
2021-10-20T14:15:05.317+00:00

Hello,

I am trying to create an Azure ML Environment using a Dockerfile but it contains the 'COPY' instruction.

From the documentation of Environment.from_dockerfile ( https://learn.microsoft.com/fr-fr/python/api/azureml-core/azureml.core.environment(class)?view=azure-ml-py#from-dockerfile-name--dockerfile--conda-specification-none--pip-requirements-none- ), I can not find a way to give it some files along with the Dockerfile itself.

So, how to pass context to enable using COPY in the Dockerfile ?

Thank you for your time !

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,343 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vitaliy Zhurba 81 Reputation points
    2021-10-21T00:05:42.763+00:00

    Docker context is not supported with AzureML Python SDK at the moment. Context support will added later this year

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.