Commit 25eecc39 authored by alain's avatar alain 🐙
Browse files

docker debug

parent ea4d1840
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
"type": "component", "type": "component",
"repeatable": true, "repeatable": true,
"component": "content.header" "component": "content.header"
},
"title": {
"type": "string"
} }
} }
} }
...@@ -28,8 +28,6 @@ const config = { ...@@ -28,8 +28,6 @@ const config = {
} }
const Editor = ({ onChange, name, value }) => { const Editor = ({ onChange, name, value }) => {
console.log(<CKEditor/>);
return ( return (
<Wrapper> <Wrapper>
<CKEditor <CKEditor
......
export const buildGatsbySite = () => { export const buildGatsbySite = () => {
const { exec } = require('child_process'); const { exec } = require('child_process');
exec('cd ../frontend && gatsby build', (error, stdout, stderr) => { exec('cd ../frontend && yarn build', (error, stdout, stderr) => {
if (error) { if (error) {
console.error(`exec error: ${error}`); console.error(`exec error: ${error}`);
console.error(`stderr: ${stderr}`);
return; return;
} }
console.log(`stdout: ${stdout}`); console.log(`stdout: ${stdout}`);
......
docker build -t waag/public-stack-site . docker build --no-cache -t waag/public-stack-site .
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment