version: '3' services: backend: build: context: . dockerfile: Dockerfile.dev args: # Use an ".env" file to overwrite this variable if your local user's UID is not 1000. DEV_USER_UID: ${DEV_USER_UID:-1000} ports: - '5000:5000' volumes: - ./:/app/ env_file: - development.env command: flask run --host=0.0.0.0 volumes: mariadb_data: