Update content/guides/deno/containerize.md

Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
This commit is contained in:
Pradumna Saraf 2025-02-12 20:31:51 +05:30 committed by GitHub
parent aee0079f97
commit 996ff65807
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ CMD ["run", "--allow-net", "server.ts"]
Aside from specifying `denoland/deno:latest` as the base image, the Dockerfile: Aside from specifying `denoland/deno:latest` as the base image, the Dockerfile:
- Sets the working directory in the container to `/app` - Sets the working directory in the container to `/app`.
- Copies `server.ts` into the container. - Copies `server.ts` into the container.
- Sets the user to `deno` to run the application as a non-root user. - Sets the user to `deno` to run the application as a non-root user.
- Exposes port 8000 to allow traffic to the application. - Exposes port 8000 to allow traffic to the application.