mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
Release v1.1.0: headless runner + tagging updates (Discard Matters, Freerunning, Craft, Spree, Explore/Map, Rad, Energy/Resource Engine, Spawn/Scion)
This commit is contained in:
parent
36abbaa1dd
commit
99005c19f8
23 changed files with 1330 additions and 420 deletions
|
|
@ -24,20 +24,21 @@ COPY code/ ./code/
|
|||
COPY mypy.ini .
|
||||
|
||||
# Create necessary directories as mount points
|
||||
RUN mkdir -p deck_files logs csv_files
|
||||
RUN mkdir -p deck_files logs csv_files config
|
||||
|
||||
# Create volumes for persistent data
|
||||
VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files"]
|
||||
VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files", "/app/config"]
|
||||
|
||||
# Create symbolic links BEFORE changing working directory
|
||||
# These will point to the mounted volumes
|
||||
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/csv_files ./csv_files && \
|
||||
ln -sf /app/config ./config
|
||||
|
||||
# Verify symbolic links were created
|
||||
RUN cd /app/code && ls -la deck_files logs csv_files
|
||||
RUN cd /app/code && ls -la deck_files logs csv_files config
|
||||
|
||||
# Set the working directory to code for proper imports
|
||||
WORKDIR /app/code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue