Skip to content

Commit 410b05d

Browse files
Update codeblock type
1 parent a5cd595 commit 410b05d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/features/containers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ const httpPort = container.getFirstMappedPort();
574574

575575
Specify a protocol for the exposed port:
576576

577-
```javascript
577+
```js
578578
const container = await new GenericContainer("alpine")
579579
.withExposedPorts({
580580
container: 80,
@@ -587,7 +587,7 @@ const httpPort = container.getMappedPort(80, "udp");
587587

588588
Alternatively, specify the protocol using a string with the format `port/protocol`:
589589

590-
```javascript
590+
```js
591591
const container = await new GenericContainer("alpine")
592592
.withExposedPorts("80/udp")
593593
.start();

0 commit comments

Comments
 (0)