Skip to content

Commit d4c61d1

Browse files
authored
docs: Use correct comment characters for C# language (#1564)
1 parent 593912e commit d4c61d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/api/create_docker_container.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ _ = new ContainerBuilder()
4545

4646
```csharp title="Copying a file"
4747
_ = new ContainerBuilder()
48-
# Copy 'appsettings.json' into the '/app' directory.
48+
// Copy 'appsettings.json' into the '/app' directory.
4949
.WithResourceMapping(new FileInfo("appsettings.json"), "/app/")
50-
# Copy 'appsettings.Container.json' to '/app/appsettings.Developer.json'.
50+
// Copy 'appsettings.Container.json' to '/app/appsettings.Developer.json'.
5151
.WithResourceMapping(new FileInfo("appsettings.Container.json"), new FileInfo("/app/appsettings.Developer.json"));
5252
```
5353

@@ -192,7 +192,6 @@ const ushort MagicNumberPort = 80;
192192
var deepThoughtContainer = new ContainerBuilder()
193193
.WithName(Guid.NewGuid().ToString("D"))
194194
.WithImage("alpine")
195-
.WithExposedPort(MagicNumberPort)
196195
.WithPortBinding(MagicNumberPort, true)
197196
.WithEnvironment("MAGIC_NUMBER", MagicNumber)
198197
.WithEntrypoint("/bin/sh", "-c")

0 commit comments

Comments
 (0)