version: '3.8' services: flask-app: build: . ports: - "7860:7860" env_file: - .env volumes: - .:/app environment: - FLASK_APP=main.py - FLASK_RUN_HOST=0.0.0.0 - FLASK_RUN_PORT=7860 - FLASK_ENV=development