.platform.app.yaml 683 B

12345678910111213141516171819202122232425262728
  1. # This file describes an application. You can have multiple applications
  2. # in the same project.
  3. #
  4. # See https://docs.platform.sh/user_guide/reference/platform-app-yaml.html
  5. # The name of this app. Must be unique within a project.
  6. name: frontend
  7. # The runtime the application uses.
  8. type: "python:3.6"
  9. # The build-time dependencies of the app.
  10. dependencies:
  11. python:
  12. flask: '*'
  13. # The hooks executed at various points in the lifecycle of the application.
  14. hooks:
  15. build: |
  16. sleep 1
  17. # The size of the persistent disk of the application (in MB).
  18. disk: 256
  19. # The configuration of app when it is exposed to the web.
  20. web:
  21. commands:
  22. start: python server.py