Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve App Service Linux Python deployment speed by 10X #505

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions templates/python-to-linux-webapp-on-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -84,4 +84,5 @@ stages:
inputs:
azureSubscription: $(azureServiceConnectionId)
appName: $(webAppName)
package: $(Pipeline.Workspace)/drop/$(Build.BuildId).zip
package: $(Pipeline.Workspace)/drop/$(Build.BuildId).zip
appSettings: '-WEBSITE_RUN_FROM_PACKAGE 1'