-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Type of issue
Other (describe below)
Description
[Enter feedback here]
The following statement which appears in the middle of the article: "In this example, the publish folder is copied to a folder named App/out in the container" is not correct. It refers to the following line in the Dockerfile that appears directly above the statement:
"COPY --from=build-env /App/out ."
The first part of the statement that mentions what is copied, i.e. "publish folder" is kind of correct although the reader needs to associate the "publish folder" with the first argument of the docker COPY operation which is "/App/out" (where the app was previously published to).
The second part of the statement is wrong because it says that it "is copied to a folder named App/out". But "App/out" is the source of the copying, not destination. The actual destination is the dot which is the current working folder, which is just "/App" (not /App/out).
Page URL
https://learn.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows&pivots=dotnet-8-0
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/docker/build-container.md
Document Version Independent Id
58d57b81-4ca6-6536-8788-f212402b41a7
Article author
Metadata
- ID: 4c7470d2-9a57-7654-e13a-4f912898f7aa
- Service: dotnet-fundamentals
- Sub-service: dotnet-docker