Document the container registry push alongside the git remote

This commit is contained in:
Archibold committed 2026-11-07 15:06:56 +11:00
1 parent f266bc5104
commit 68b9f851ef
1 file changed
+11
+11
View File
@@ -28,8 +28,19 @@ uv run uwudash-mk3 --reload
```bash
docker build -t uwudash-mk3 .
docker run -d -p 8000:8000 -v uwudash-data:/app/data uwudash-mk3
# git.lovelynet.net also serves a container registry on the same host
docker login https://git.lovelynet.net
docker tag uwudash-mk3 git.lovelynet.net/benjamyn/uwudash_mk3:latest
docker push git.lovelynet.net/benjamyn/uwudash_mk3:latest
docker pull git.lovelynet.net/benjamyn/uwudash_mk3:latest # any other machine
```
`docker login` wants the forge's registry credentials, not the OIDC sign-in
password - a wrong password fails with `unauthorized` at `/v2/`, and a
successful login is remembered in `~/.docker/config.json` for later pushes.
The image is two-stage: `uv build` produces the wheel from the `src/` layout, a
clean stage installs it into `/app/.venv`, and the entrypoint is the
`uwudash-mk3` console script. It runs as uid `10001` and binds `0.0.0.0:8000`