Commit Graph

3 Commits

Author SHA1 Message Date
minus
8e31fe25ac
Make Docker image easier to use (#50)
* Use single server example as default frontend

This just works out of the box

* Refactor Dockerfile

- Remove the asset dir since it's embedded in the executable anyway
- Use the code in the current directory to build instead of downloading.
  Makes local testing very easy.
- Cache Go dependencies
- Run without root privileges. Note that using a BoltDB database
  requires mounting a volume with the correct permissions. The default
  database has thus been changed to memory so that starting the image
  just works.

* Automatically publish images
2022-07-26 23:30:23 +08:00
Maddie Zhan
2583e5113a Use default html assets 2021-09-27 11:11:08 +08:00
Maddie Zhan
7204ae2e19 Embed default assets 2021-09-17 21:06:00 +08:00