Embed frontend when building Docker image #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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
FileServerfor the first release for both the frontend & the docs.