From ce802d21fafafeddafb57210eee93b7548939d51 Mon Sep 17 00:00:00 2001 From: EatPrilosec Date: Sun, 11 Aug 2024 16:51:10 -0400 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aae9acf..4ed519f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,7 +85,7 @@ RUN sudo -E -u user -g userg wineboot --init ENV CronCommand /app/epg-start.sh -CMD ["bash", "-c", "\"usermod -u $PUID user ; \ +CMD ["bash", "-c", "\'usermod -u $PUID user ; \ groupmod -g $PGID userg ; \ usermod -a -G sudo user ; \ chown -R user:userg $HOME ; \ @@ -93,8 +93,8 @@ CMD ["bash", "-c", "\"usermod -u $PUID user ; \ chown -R user:userg /app ; \ env >/app/env ; \ sudo -E --group=userg --user=user $CronCommand >/home/user/cron.log 2>/home/user/cron.log & ; \ - echo "$CronSchedule sudo -E --group=userg --user=user $CronCommand >/home/user/cron.log 2>/home/user/cron.log" >/home/user/cronfile ; \ + echo \"$CronSchedule sudo -E --group=userg --user=user $CronCommand >/home/user/cron.log 2>/home/user/cron.log\" >/home/user/cronfile ; \ crontab /home/user/cronfile ; \ cron & ; \ tail -F /home/user/cron.log \ -\""] +\'"]