Added Docker support

This commit is contained in:
Sebastian Limbach
2017-01-31 11:41:40 +01:00
parent 8010e6220d
commit 354b745c39
6 changed files with 121 additions and 3 deletions

11
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
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 -R /opt/magic_mirror/unmount_config/. /opt/magic_mirror/config
fi
node serveronly