version: '2'

services:

  backend:
    build: backend
    ports:
      - "5000:5000"
    volumes:
      - "./backend:/srv/"
    environment:
      - "PYTHONDONTWRITEBYTECODE=1"

version: '2'

services:

  backend:
    build: backend
    ports:
      - "5000:5000"
    volumes:
      - "./backend:/srv/"
    environment:
      - "PYTHONDONTWRITEBYTECODE=1"
      - "DEBUG=1"

Enable Flask debug mode via the environment
Enable Flask debug mode via the environment
