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
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 onceTo resolve
Remove the
pip install --upgrade pip
call in the DockerfileMention any other details that might be useful