version: "2"

services:
  advent:
    build: .
    image: camphor/advent
    expose:
      - 8000
    ports:
      - 8000:8000
    volumes:
      - .:/app
    command: bash -c 'python run.py --debug && cd output/ && python -m http.server'

version: "2"

services:
  advent:
    build: .
    image: camphor/advent
    expose:
      - 8000
    ports:
      - 8000:8000
    volumes:
      - .:/app
    command: bash -c 'python -u run.py --debug && cd output/ && python -u -m http.server'

Use 'python -u' to avoid buffering problems
Use 'python -u' to avoid buffering problems
