docker test 3

This commit is contained in:
mwisnowski 2025-08-21 09:35:32 -07:00
parent ae608ed6a3
commit 1b07d4d4e0
5 changed files with 139 additions and 17 deletions

View file

@ -4,8 +4,9 @@ services:
mtg-deckbuilder:
build: .
container_name: mtg-deckbuilder
stdin_open: true
tty: true
stdin_open: true # Equivalent to docker run -i
tty: true # Equivalent to docker run -t
profiles: ["interactive"] # Only run when specifically requested
volumes:
# Mount local directories to container for persistence (Linux paths)
- ${PWD}/deck_files:/app/deck_files
@ -14,5 +15,6 @@ services:
environment:
- PYTHONUNBUFFERED=1
- TERM=xterm-256color
- DEBIAN_FRONTEND=noninteractive
# Ensure proper cleanup
restart: "no"