diff --git a/templates/python-to-linux-webapp-on-azure.yml b/templates/python-to-linux-webapp-on-azure.yml index 21309039..c78e6430 100644 --- a/templates/python-to-linux-webapp-on-azure.yml +++ b/templates/python-to-linux-webapp-on-azure.yml @@ -39,7 +39,7 @@ stages: displayName: 'Use Python $(pythonVersion)' - script: | - python -m venv antenv + python -m venv --copies antenv source antenv/bin/activate python -m pip install --upgrade pip pip install setup @@ -84,4 +84,5 @@ stages: inputs: azureSubscription: $(azureServiceConnectionId) appName: $(webAppName) - package: $(Pipeline.Workspace)/drop/$(Build.BuildId).zip \ No newline at end of file + package: $(Pipeline.Workspace)/drop/$(Build.BuildId).zip + appSettings: '-WEBSITE_RUN_FROM_PACKAGE 1'