Update docker cwd to /config

This commit is contained in:
Alexey Khit
2022-08-24 12:48:38 +03:00
parent e2d4fa3393
commit 9310343ad3
+5 -3
View File
@@ -2,11 +2,13 @@
set +e
cd /config
while true; do
if [ -x /config/go2rtc ]; then
/config/go2rtc -config /config/go2rtc.yaml
if [ -x go2rtc ]; then
./go2rtc
else
/app/go2rtc -config /config/go2rtc.yaml
/app/go2rtc
fi
sleep 5