aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-07ref(build): build and deploy with nixFranck Cuny1-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`).
2022-01-23build: use more recent version of hugoFranck Cuny1-1/+1
2021-08-05build: add DockerfileFranck Cuny1-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