forked from devfile/registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devfile.yaml
49 lines (49 loc) · 1.37 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
schemaVersion: 2.2.2
metadata:
name: nodejs-nuxtjs
displayName: Nuxt.js
description: "Nuxt.js is the backbone of your Vue.js project, giving structure to build your project with confidence while keeping flexibility.
Its goal is to help Vue developers take advantage of top-notch technologies, fast, easy and in an organized way."
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/nuxt-js.svg
tags:
- Node.js
- Nuxt.js
projectType: Nuxt.js
language: TypeScript
provider: Red Hat
version: 1.2.1
starterProjects:
- name: nodejs-nuxtjs-starter
git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/devfile-samples/devfile-stack-nodejs-nuxtjs.git
components:
- container:
endpoints:
- name: https-nuxtjs
protocol: https
targetPort: 3000
image: registry.access.redhat.com/ubi8/nodejs-18:1-94
args: ['tail', '-f', '/dev/null']
memoryLimit: 1024Mi
name: runtime
commands:
- exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
id: install
- exec:
commandLine: npm run dev
component: runtime
group:
isDefault: true
kind: run
hotReloadCapable: true
workingDir: ${PROJECT_SOURCE}
id: run