Azure-Samples / Azure-Python-Standardization-Template-Generator

The source repository for the space tourism templates for Python web apps for Azure
MIT License
7 stars 2 forks source link

Deployment has two `pip install upgrade pips` #27

Closed kjaymiller closed 8 months ago

kjaymiller commented 8 months ago

The deployment steps for Azure run python -m pip install --upgrade pip two times.

The first happens in the dockerfile and the second in the entrypoint.sh.

I would assume we want to keep the earliest call which would be in the dockerfile. If we are using entrypoint.sh in another deployment (app service?) then we could all it there. But there isn't a need to call it more than once

To resolve

Remove the pip install --upgrade pip call in the Dockerfile

Mention any other details that might be useful


Thanks! We'll be in touch soon.