Created
December 7, 2020 17:32
-
-
Save gorkem/78fd17864218a125b2bd9146728a1af8 to your computer and use it in GitHub Desktop.
gastsby devfile
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
schemaVersion: 2.0.0 | |
components: | |
- name: gatsby | |
container: | |
image: quay.io/eclipse/che-nodejs10-ubi:nightly | |
mountSources: true | |
memoryLimit: 700Mi | |
endpoints: | |
- name: web | |
targetPort: 8000 | |
commands: | |
- id: gatsby-develop | |
exec: | |
commandLine: "gatsby develop -H 0.0.0.0" | |
component: gatsby | |
group: | |
kind: run | |
attributes: | |
restart: "false" | |
- id: setup-gatsby-cli | |
exec: | |
commandLine: "npm install -g gatsby-cli && npm install" | |
component: gatsby | |
events: | |
postStart: | |
- setup-gatsby-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment