-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
70 lines (70 loc) · 1.41 KB
/
devfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
commands:
- exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
id: install
- exec:
commandLine: npm start
component: runtime
group:
isDefault: true
kind: run
workingDir: ${PROJECT_SOURCE}
id: run
- exec:
commandLine: npm run debug
component: runtime
group:
isDefault: true
kind: debug
workingDir: ${PROJECT_SOURCE}
id: debug
- exec:
commandLine: npm test
component: runtime
group:
isDefault: true
kind: test
workingDir: ${PROJECT_SOURCE}
id: test
components:
- container:
args:
- tail
- -f
- /dev/null
endpoints:
- name: port-3000-tcp
protocol: tcp
targetPort: 3000
env:
- name: DEBUG_PORT
value: "5858"
image: registry.access.redhat.com/ubi8/nodejs-18:1-32
memoryLimit: 1024Mi
mountSources: true
name: runtime
metadata:
description: Node.js 18 application
displayName: Node.js Runtime
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/node-js.svg
language: JavaScript
name: atoiniumhpc
projectType: Node.js
tags:
- Node.js
- Express
- ubi8
version: 2.2.1
schemaVersion: 2.2.2
starterProjects:
- git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/nodeshift-starters/devfile-sample.git
name: nodejs-starter