Produce a Docker image that serves the data.
The package includes:
Which is served using the Caddy server, currently deployed via fly.io.
- Copy the database from the
scan
step into this directory - Copy the status database from the bot into this directory
- run:
poetry run python ./package/package.py <path to scan database> <path to status database>
- this produces a file called
orchard.jsonl
in this directory. - use the Dockerfile to build the package.
- the resulting image can be ran like this:
docker run -p 8080:8080 rdindexer