Implement building with docker
See the README for usages and details. A breaking changes here too: * run.py is gone, we now handle that kind of thing with docker * The token is out of the config and is now an ENVAR (ideally using a .env) * `.json` files are now in a .matchy/ subdirectory, as this makes it a lot easier for the container to safely read Bonus: * fix a score_factors.setdefault call causing issues * Reformat some of the readme
This commit is contained in:
parent
b810dedb26
commit
3a0bf82ecb
10 changed files with 174 additions and 95 deletions
6
docker-compose.yml
Normal file
6
docker-compose.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
services:
|
||||
matchy:
|
||||
image: ghcr.io/mdiluz/matchy:latest
|
||||
env_file: ".env"
|
||||
volumes:
|
||||
- ${MATCHY_DATA:-./.matchy}:/usr/src/app/.matchy
|
Loading…
Add table
Add a link
Reference in a new issue