Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EatPrilosec authored Aug 12, 2024
1 parent 0cac787 commit 2af9a65
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

SHELL ["/bin/bash", "-c"]
CMD 'usermod -u $PUID user ; \
CMD 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 '
tail -F /home/user/cron.log

0 comments on commit 2af9a65

Please sign in to comment.