Files
homelabstack/stacks/romhacks/orchestrator/Dockerfile
T
ginnoir d9724f39e6 fix(romhacks): build on Alpine DCE base (apk + self-contained CLI)
The tyrrrz/discordchatexporter image is Alpine, not Debian, and ships DCE as a
self-contained executable (no dotnet on PATH). Use apk for python3 and invoke
/opt/app/DiscordChatExporter.Cli directly.
2026-06-07 18:57:42 -05:00

16 lines
535 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
RUN apk add --no-cache python3
WORKDIR /app
COPY orchestrate.py run.sh channels.json ./
RUN chmod +x run.sh
ENTRYPOINT ["./run.sh"]