Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/docs/graphql/guides/ship-the-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { Aside } from '@astrojs/starlight/components';

The `run` stage of the `Dockerfile` is the whole API: one image, built on `mcr.microsoft.com/dotnet/aspnet:10.0-alpine`, that listens on port 7330 and runs as the image's non-root `app` user. It runs anywhere a container runs, which these days is everywhere, including a surprising number of fridges.

The `run` stage also runs `apk upgrade` when it builds. Security fixes often reach Alpine before the .NET base image picks them up, so rebuild the image now and then and you get them too.

## Build it

```bash
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/lambda/guides/run-locally.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { Tabs, TabItem, Aside } from '@astrojs/starlight/components';

The image is built on the [AWS Lambda .NET base image](https://gallery.ecr.aws/lambda/dotnet), which includes the Lambda runtime interface emulator. Your function runs locally exactly the way Lambda runs it, just with fewer invoices.

The `run` stage also runs `dnf upgrade` when it builds. Security fixes often reach Amazon Linux before the Lambda base image picks them up, so rebuild the image now and then and you get them too.

## Build and run

<Tabs syncKey="runner">
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/mcp/guides/ship-the-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { Aside } from '@astrojs/starlight/components';

The `run` stage of the `Dockerfile` is the whole server: one image, built on `mcr.microsoft.com/dotnet/aspnet:10.0-alpine`, that listens on port 7320 and runs as the image's non-root `app` user. It runs anywhere a container runs, which these days is everywhere, including a surprising number of fridges.

The `run` stage also runs `apk upgrade` when it builds. Security fixes often reach Alpine before the .NET base image picks them up, so rebuild the image now and then and you get them too.

## Build it

```bash
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/minimalapi/guides/ship-the-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { Aside } from '@astrojs/starlight/components';

The `run` stage of the `Dockerfile` is the whole API: one image, built on `mcr.microsoft.com/dotnet/aspnet:10.0-alpine`, that listens on port 7310 and runs as the image's non-root `app` user. It runs anywhere a container runs, which these days is everywhere, including a surprising number of fridges.

The `run` stage also runs `apk upgrade` when it builds. Security fixes often reach Alpine before the .NET base image picks them up, so rebuild the image now and then and you get them too.

## Build it

```bash
Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/webapi/guides/ship-the-container.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { Aside } from '@astrojs/starlight/components';

The `run` stage of the `Dockerfile` is the whole API: one image, built on `mcr.microsoft.com/dotnet/aspnet:10.0-alpine`, that listens on port 7340 and runs as the image's non-root `app` user. It runs anywhere a container runs, which these days is everywhere, including a surprising number of fridges.

The `run` stage also runs `apk upgrade` when it builds. Security fixes often reach Alpine before the .NET base image picks them up, so rebuild the image now and then and you get them too.

## Build it

```bash
Expand Down