mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-24 11:30:12 +01:00
docker test 3
This commit is contained in:
parent
ae608ed6a3
commit
1b07d4d4e0
5 changed files with 139 additions and 17 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue