diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-10-07 11:56:36 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-10-07 11:56:36 -0700 |
| commit | 0b7e1ae5aea05cdc5069b3edb15bd2165a2e1411 (patch) | |
| tree | d883ca82a5a6a3361f36549eb703a19d9d9d4fa0 /Dockerfile | |
| parent | build: drop the configuration for drone (diff) | |
| download | fcuny.net-0b7e1ae5aea05cdc5069b3edb15bd2165a2e1411.tar.gz | |
ref(build): build and deploy with nix
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`).
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 64c0f97..0000000 --- a/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM klakegg/hugo:0.91.2-ext-alpine-onbuild AS hugo - -FROM pierrezemb/gostatic - -COPY --from=hugo /target /srv/http/ - -CMD ["-port", "8080" , "-https-promote"] |
