forked from devfile/registry
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nodejs-nuxtjs stack (devfile#346)
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com> rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED Signed-off-by: thepetk <thepetk@gmail.com>
- Loading branch information
1 parent
b3b2064
commit f827b5f
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters