title: Where is my source code on docker container
body: <p>I used following docker script to build and run my ASP.NET Web API project on .net 4.6.1 framework. </p>
  
  <pre><code>FROM microsoft/dotnet-framework:4.7.2-sdk AS build
  WORKDIR /app
  
  # copy csproj and restore as distinct layers
  COPY *.sln .
  COPY TestWebAPI/*.csproj ./TestWebAPI/
  COPY TestWebAPI/*.config ./TestWebAPI/
  RUN nuget restore
  
  # copy everything else and build app
  COPY TestWebAPI/. ./TestWebAPI/
  WORKDIR /app/TestWebAPI
  RUN msbuild /p:Configuration=Release
  
  
  FROM microsoft/aspnet:4.7.2 AS runtime
  WORKDIR /inetpub/wwwroot
  COPY --from=build /app/TestWebAPI/. ./
  </code></pre>
  
  <p>In the first step I am setting app folder as my working directory. But after creating container, I do not see any folder name app on my C:</p>
  
  <pre><code>--To create Image
  docker image build --tag testwebapi --file .\Dockerfile .
  
  --To run container
  docker container run --detach --publish 80 testwebapi
  
  --To see containers content
  docker exec -i -t a1da40af6b3c powershell
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bV16W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bV16W.png" alt="enter image description here"></a></p>
  
  <p><strong>Where does docker keep the source code?</strong></p>