.platform.app.yaml 368 B

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