diff --git a/docs/latest/concepts/deployment.md b/docs/latest/concepts/deployment.md index c8593c6a..0f7ff476 100644 --- a/docs/latest/concepts/deployment.md +++ b/docs/latest/concepts/deployment.md @@ -69,6 +69,17 @@ documentation. - [Amazon Web Services][aws-container-registry] - [Google Cloud][gcp-container-registry] +## Self Contained Executable + +With Deno 2.1, you can create a self-contained executable of your Fresh project +that includes all assets and dependencies. This executable can run on any +platform without requiring Deno to be installed. + +```sh Terminal +$ deno build +$ deno compile --include static --include _fresh --include deno.json -A main.ts +``` + [aws-container-registry]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/create-container-image.html#create-container-image-push-ecr [gcp-container-registry]: https://cloud.google.com/container-registry/docs/pushing-and-pulling [deno-deploy]: https://deno.com/deploy