From 2a4d5b34327ff196037b26bcee28c67af1473cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my?= Date: Tue, 24 Jul 2018 17:31:54 +0200 Subject: [PATCH 1/2] Create covexo.yaml --- covexo.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 covexo.yaml diff --git a/covexo.yaml b/covexo.yaml new file mode 100644 index 0000000..f0686fa --- /dev/null +++ b/covexo.yaml @@ -0,0 +1,21 @@ +name: React +containers: + - name: nodejs + image: 'node:9.4' + runtimeOptions: + cmd: run start + workDir: /app + entryPoint: npm + initScript: |- + npx create-react-app my-react-app + mv my-react-app/* ./ + rm -r my-react-app/ + env: + NODE_ENV: dev + persistentFolders: + - name: source-code + localSubPath: ./ + containerPath: /app + routes: + - hostPrefix: '' + containerPort: 3000 From 83feda2a847321d7725ad8f03eb24f9e8f912430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my?= Date: Tue, 24 Jul 2018 17:47:17 +0200 Subject: [PATCH 2/2] Update covexo.yaml --- covexo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/covexo.yaml b/covexo.yaml index f0686fa..8cfc0de 100644 --- a/covexo.yaml +++ b/covexo.yaml @@ -1,4 +1,4 @@ -name: React +name: my-react-app containers: - name: nodejs image: 'node:9.4'