Embed frontend when building Docker image #34
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The docker image builds the entire application as a static binary. The frontend can be embedded into said binary, making it very fast to serve.
Honestly this might not be worth the effort, at least not for the first release. Since the Rocket 0.5 release, this seems extra complicated to implement, so we should probably just use the regular built-in
FileServer
for the first release for both the frontend & the docs.