Skip to content

Commit 1340341

Browse files
committed
feat: adding basic a devfile
1 parent 2333218 commit 1340341

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.devfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
schemaVersion: 2.2.2
2+
metadata:
3+
name: nodejs-rest-http
4+
components:
5+
- name: tools
6+
container:
7+
image: registry.redhat.io/devspaces/udi-rhel9
8+
endpoints:
9+
- exposure: public
10+
name: application-index
11+
targetPort: 8080
12+
- exposure: none
13+
name: debug
14+
targetPort: 5858
15+
memoryLimit: 1Gi
16+
memoryRequest: 512Mi
17+
cpuLimit: 2000m
18+
cpuRequest: 500m
19+
mountSources: true
20+
volumeMounts:
21+
- name: npm
22+
path: /home/user/.npm
23+
- name: npm
24+
volume:
25+
size: 1G

0 commit comments

Comments
 (0)