aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ref(build): build and deploy with nixFranck Cuny2022-10-071-7/+0
| | | | | | | | | | | | Refactored the build of the docker image to be done with nix: the flake knows how to build the docker image, using caddy as a HTTP server. It generates a small image, with the configuration for caddy and the site generated by hugo (`nix build`). Deleted the Dockerfile since the creation is done with nix. Got rid of the deployment script since this is also done via the flake (`nix run .#deploy`).
* build: use more recent version of hugoFranck Cuny2022-01-231-1/+1
|
* build: add DockerfileFranck Cuny2021-08-051-0/+7
The Dockerfile used by fly is relying on an older version of hugo ([1]). We can use a newer version and provide our own setup, and configure with the flags we want (e.g. promote to HTTS automatically). [1] https://github.com/superfly/flyctl/blob/3eb204909fbecd5fd2b1ba4517cdbce2abd9f74a/internal/build/imgsrc/builtins/defaultbuiltins.go#L89