docker-compose.yaml 257 B

123456789101112131415
  1. version: '3.7'
  2. services:
  3. app:
  4. build:
  5. context: .
  6. args:
  7. - work_dir=/app
  8. environment:
  9. - FLASK_APP_PATH=/app/server.py
  10. - FLASK_PORT=5000
  11. working_dir: /app
  12. volumes:
  13. - './:/app'
  14. ports:
  15. - 5000:5000