devfile.yaml 559 B

123456789101112131415161718192021222324
  1. schemaVersion: 2.2.2
  2. metadata:
  3. name: python-hello-world
  4. components:
  5. - name: python
  6. container:
  7. image: registry.redhat.io/devspaces/udi-rhel8:3.16
  8. memoryLimit: '2Gi'
  9. memoryRequest: '1Gi'
  10. cpuLimit: '2'
  11. cpuRequest: '1'
  12. mountSources: true
  13. env:
  14. - name: KUBEDOCK_ENABLED
  15. value: 'true'
  16. commands:
  17. - id: run
  18. exec:
  19. label: "Run the application"
  20. component: python
  21. workingDir: ${PROJECTS_ROOT}/python-hello-world
  22. commandLine: python chatbot.py
  23. group:
  24. kind: run