docker-compose.debug.yml 385 B

1234567891011121314
  1. version: '3.4'
  2. services:
  3. fgit:
  4. image: fgit
  5. build:
  6. context: .
  7. dockerfile: ./Dockerfile
  8. command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --wait-for-client --listen 0.0.0.0:5678 -m flask run --no-debugger --no-reload --host 0.0.0.0 --port 5002"]
  9. ports:
  10. - 5002:5002
  11. - 5678:5678
  12. environment:
  13. - FLASK_APP=main.py