.platform.app.yaml 348 B

1234567891011121314151617181920212223242526
  1. name: app
  2. type: "python:3.7"
  3. hooks:
  4. build: |
  5. pip install -r requirements.txt
  6. web:
  7. commands:
  8. start: "python run_server.py"
  9. locations:
  10. "/":
  11. root: ""
  12. passthru: true
  13. allow: false
  14. mounts:
  15. tmp:
  16. source: local
  17. source_path: tmp
  18. logs:
  19. source: local
  20. source_path: logs
  21. disk: 128