Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EatPrilosec committed Aug 11, 2024
1 parent 4220bf2 commit ce802d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ 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 ; \
chown -R user:userg $WINEPREFIX ; \
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 \
\""]
\'"]

0 comments on commit ce802d2

Please sign in to comment.