doc: add information about deno compile (#2783)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user