mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
Docker troubleshooting ocntinued
This commit is contained in:
parent
1b07d4d4e0
commit
041a00321b
3 changed files with 198 additions and 0 deletions
|
|
@ -33,5 +33,10 @@ VOLUME ["/app/deck_files", "/app/logs", "/app/csv_files"]
|
|||
# Set the working directory to code for proper imports
|
||||
WORKDIR /app/code
|
||||
|
||||
# Create symbolic links so the app can find the data directories
|
||||
RUN ln -sf /app/deck_files ./deck_files && \
|
||||
ln -sf /app/logs ./logs && \
|
||||
ln -sf /app/csv_files ./csv_files
|
||||
|
||||
# Run the application
|
||||
CMD ["python", "main.py"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue