Add docker entry
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Quentin 2022-07-19 16:00:22 +02:00
parent 158eda06de
commit ba8042a21a
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 13 additions and 3 deletions

View file

@ -40,6 +40,13 @@ nix-build -A pkg # build the binary and add the ressources
nix-build -A docker # build a docker container nix-build -A docker # build a docker container
``` ```
Publishing the container:
```bash
docker load < $(nix-build -A docker)
docker push ???
```
## Configuration of Guichet ## Configuration of Guichet
Guichet is configured using a simple JSON config file which is a dictionnary whose keys Guichet is configured using a simple JSON config file which is a dictionnary whose keys

View file

@ -38,7 +38,10 @@ in rec {
cp -r templates static $out/ cp -r templates static $out/
''; '';
}; };
/*docker = pkgs.xxx { docker = pkgs.dockerTools.buildImage {
name = "dxflrs/guichet";
};*/ config = {
Cmd = [ "${pkg}/guichet" ];
};
};
} }