Commit Graph

5 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
Sean McAvoy
281aff1725
Update Dockerfile (#36)
update alpine to 3.15 (same as golang:alpine)
2022-01-18 15:46:15 +08:00
Axel Gembe
158e37d3ae
Docker: Fix asset copy step to copy from the correct directory (#33)
Assets were moved from the `assets` folder to the `web/assets` folder in
commit 7204ae2e19 but the `Dockerfile` has
not been adjusted to copy from there.
2021-10-17 21:51:13 +08:00
Axel Fernandez
0cfdb0ea9e Delete an F in From Dockerfile 2020-08-11 00:48:13 -03:00
mickkael
a992da4780
Dockerfile for speedtest-go (#3)
* fix a typo in the Readme an built a Dockerfile

* typo on the RUN
2020-07-01 10:03:12 +08:00