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

docker debug

parent ea4d1840
......@@ -15,6 +15,9 @@
"type": "component",
"repeatable": true,
"component": "content.header"
},
"title": {
"type": "string"
}
}
}
......@@ -28,8 +28,6 @@ const config = {
}
const Editor = ({ onChange, name, value }) => {
console.log(<CKEditor/>);
return (
<Wrapper>
<CKEditor
......
export const buildGatsbySite = () => {
const { exec } = require('child_process');
exec('cd ../frontend && gatsby build', (error, stdout, stderr) => {
exec('cd ../frontend && yarn build', (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`);
console.error(`stderr: ${stderr}`);
return;
}
console.log(`stdout: ${stdout}`);
......
docker build -t waag/public-stack-site .
\ No newline at end of file
docker build --no-cache -t waag/public-stack-site .
\ 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