grapesjs/backend-docker/entrypoint.sh
Adrian Amaglio f6be728c19 temp
2023-08-01 17:26:50 +02:00

10 lines
189 B
Bash
Executable File

#!/bin/sh
if [ ! -f db.json ] ; then
touch db.json
fi
if [ ! -s db.json ] ; then
echo '{"projects": [ {"id": 1, "data": {"assets": [], "styles": [], "pages": []} } ]}' > db.json
fi
"$@"