mirror of https://github.com/docker/docs.git
Update content/guides/deno/containerize.md
Co-authored-by: Craig Osterhout <103533812+craig-osterhout@users.noreply.github.com>
This commit is contained in:
parent
aee0079f97
commit
996ff65807
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue