MagicMirror/docker-entrypoint.sh
Sebastian Limbach d5e902679b
Change linux distribution
I changed the linux distribution from node, which used Debian, to an arm based linux distribution so the application can be used on an arm based system (e.g. Raspberry)
2017-04-12 20:19:24 +02:00

12 lines
265 B
Bash

#!/bin/sh
if [ ! -f /opt/magic_mirror/modules ]; then
cp -R /opt/magic_mirror/unmount_modules/. /opt/magic_mirror/modules
fi
if [ ! -f /opt/magic_mirror/config ]; then
cp -Rn /opt/magic_mirror/unmount_config/. /opt/magic_mirror/config
fi
node serveronly