feat(owned-cards): add owned-only workflow, multi-file parsing, and recommendations export\n\n- Prompt to use only owned cards (gated by presence of lists)\n- Support .txt/.csv owned lists, multi-select; commander exempt\n- Owned-only filtering + add guard; recommendations CSV/TXT when incomplete\n- CSV Owned column when not owned-only\n- Docs and Docker updated (owned_cards + config mounts)\n- CI: Windows EXE on tag; Docker Hub tag fix (no major.minor)\n- Changelog added; RELEASE_NOTES.md ignored

This commit is contained in:
mwisnowski 2025-08-25 09:48:05 -07:00
parent 5f922835a6
commit acfb29cafb
16 changed files with 480 additions and 261 deletions

View file

@ -23,12 +23,13 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY code/ ./code/
COPY mypy.ini .
COPY config/ ./config/
RUN mkdir -p owned_cards
# Create necessary directories as mount points
RUN mkdir -p deck_files logs csv_files config
# Create volumes for persistent data
VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files", "/app/config"]
VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files", "/app/config", "/app/owned_cards"]
# Create symbolic links BEFORE changing working directory
# These will point to the mounted volumes
@ -36,10 +37,11 @@ RUN cd /app/code && \
ln -sf /app/deck_files ./deck_files && \
ln -sf /app/logs ./logs && \
ln -sf /app/csv_files ./csv_files && \
ln -sf /app/config ./config
ln -sf /app/config ./config && \
ln -sf /app/owned_cards ./owned_cards
# Verify symbolic links were created
RUN cd /app/code && ls -la deck_files logs csv_files config
RUN cd /app/code && ls -la deck_files logs csv_files config owned_cards
# Set the working directory to code for proper imports
WORKDIR /app/code