Skip to content

Commit

Permalink
Improve deployment speed by 10X
Browse files Browse the repository at this point in the history
Update pipeline with App Service Linux deployment recommendation for Zip Deploy.

See projectkudu/kudu#2946
  • Loading branch information
berndverst committed Jul 16, 2020
1 parent 24d2dd8 commit 77ac4f7
Showing 1 changed file with 3 additions and 2 deletions.
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'

0 comments on commit 77ac4f7

Please sign in to comment.