-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
When using the ssh feature in Azure Portal, the initial prompt value shows the current folder as /home/site/wwwroot even though the pwd is /home. See the attached screenshot. I think the current behaviour is misleading.
As verified by Azure Support,
On this line https://github.com/Azure-App-Service/node/blob/master/10.10/Dockerfile#L40 we set the WORKDIR as /home/site/wwwroot which is why when you SSH in the prompt displays /home/site/wwwroot
But on this line https://github.com/Azure-App-Service/node/blob/master/10.10/Dockerfile#L9 we add cd /home to /etc/bash.bashrc so that whenever the shell is called (such as when an SSH operation is performed) the cd /home is executed and therefore the current directory is actually set to /home
Metadata
Metadata
Assignees
Labels
No labels
