schemaVersion: 2.0.0 metadata: name: nodejs version: 2.0.0 alpha.build-dockerfile: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/build/Dockerfile" alpha.deployment-manifest: "https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/deploy/deployment-manifest.yaml" starterProjects: - name: nodejs-starter git: remotes: origin: "https://github.com/odo-devfiles/nodejs-ex.git" components: - name: runtime container: image: registry.access.redhat.com/ubi8/nodejs-14:latest memoryLimit: 1024Mi mountSources: true sourceMapping: /project endpoints: - name: http-3000 targetPort: 3000 commands: - id: install exec: component: runtime commandLine: npm install workingDir: /project group: kind: build isDefault: true - id: run exec: component: runtime commandLine: npm start workingDir: /project group: kind: run isDefault: true - id: debug exec: component: runtime commandLine: npm run debug workingDir: /project group: kind: debug isDefault: true - id: test exec: component: runtime commandLine: npm test workingDir: /project group: kind: test isDefault: true