Files
homelabstack/stacks/romhacks/orchestrator/Dockerfile
T
ginnoir 1360a8fa65 feat(romhacks): automated hand-off — route downloads to RomM + library, render notes
handoff.py classifies completed downloads (console rom vs RPG-Maker fangame vs
patch, via bsdtar archive peek incl. RAR5), copies console roms into
Emulation/roms/<platform> for RomM, moves the full folder (rom + guides) into
the library archive, and renders note.md + handoff.json per hack for the
Obsidian publish step. Wired into the cycle; single /data mount keeps moves as
fast renames. Validated on 4 real games.
2026-06-07 20:25:30 -05:00

18 lines
731 B
Docker

# Orchestrator = DiscordChatExporter (self-contained .NET CLI at
# /opt/app/DiscordChatExporter.Cli) + Python3 for parsing. The DCE image is
# Alpine-based, so install via apk. The parser uses only the stdlib (no pip deps).
# Baking scripts + channels.json into the image avoids Portainer's relative
# FILE-bind quirk (see docker-compose.yml header).
FROM tyrrrz/discordchatexporter:stable
USER root
# python3 for the scripts; libarchive-tools (bsdtar) to peek inside zip/rar/7z
# archives during hand-off classification (reads RAR5, which 7zip's Alpine build can't).
RUN apk add --no-cache python3 libarchive-tools
WORKDIR /app
COPY orchestrate.py handoff.py run.sh channels.json ./
RUN chmod +x run.sh
ENTRYPOINT ["./run.sh"]