Skip to content

Commit

Permalink
doc: add information about deno compile (#2783)
Browse files Browse the repository at this point in the history
  • Loading branch information
irbull authored Dec 5, 2024
1 parent d86dcd6 commit f1b6b4c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/latest/concepts/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1b6b4c

Please sign in to comment.