Building the image
The image is built on the development machine, with Docker Desktop running Linux containers, and travels to the server as a file: the server needs no registry and no source code.
- From the root of the repository, run
.\rebuild_container_release.ps1 -NoSeedData: it builds the image, checks that it holds no source and every compiled part, starts it for a trial and saves it asdeploy\docker\merydion-allinone.tarwith its fingerprint. - Copy the image and its fingerprint to the server, for example with
scp deploy/docker/merydion-allinone.tar* admin@merydion.example.com:/tmp/. - On the server, check the fingerprint and load the image:
cd /tmp && sha256sum -c merydion-allinone.tar.sha256 && docker load -i merydion-allinone.tar.
Tip Without -NoSeedData the build also packs merydion-data.tar.gz with the development machine's data — personal data and the private key of the sign-in service included: it is not for a new installation.