services: liver: build: context: . dockerfile: Dockerfile image: liver-segmentation:latest container_name: liver-segmentation working_dir: /workspace volumes: - .:/workspace # Optional: map your dataset folder from Windows into Docker. # Edit the left side to your real Windows path. # Example: # - "T:/ThesisLearning/Liver Segmentation/data:/workspace/data" ports: - "8888:8888" deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] stdin_open: true tty: true command: bash