docker-compose.debug.yml 277 B

1234567891011
  1. version: '3.4'
  2. services:
  3. fuck12306:
  4. image: fuck12306
  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 main.py "]
  9. ports:
  10. - 5678:5678