Skip to content

Commit 236aab8

Browse files
authored
fix #522: Update references to 8.0, and remove package add, since this is now in the SDK and no longer necessary.
1 parent 489268b commit 236aab8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/ZeroToContainer.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ You should expect it to shrink noticeably over time!
55

66
## Prerequisites
77

8-
* [.NET SDK 7.0.100-preview.7](https://dotnet.microsoft.com/download/dotnet/7.0) or higher
8+
* [.NET SDK 8.0.100](https://dotnet.microsoft.com/download/dotnet/8.0) or higher
99
* Docker should be installed and running
1010

1111
## Usage
@@ -15,14 +15,11 @@ You should expect it to shrink noticeably over time!
1515
dotnet new web -n my-awesome-container-app
1616
cd my-awesome-container-app
1717

18-
# add a reference to the package
19-
dotnet add package Microsoft.NET.Build.Containers
20-
2118
# publish your project
2219
dotnet publish --os linux --arch x64 -p:PublishProfile=DefaultContainer
2320

2421
# run your app
25-
docker run -it --rm -p 5010:80 my-awesome-container-app:1.0.0
22+
docker run -it --rm -p 5010:8080 my-awesome-container-app:latest
2623
```
2724

2825
Now you can go to `localhost:5010` and you should see the `Hello World!` text!

0 commit comments

Comments
 (0)