Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EatPrilosec authored Aug 11, 2024
1 parent 2fc76ea commit f24e275
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 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 ;
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 ;
crontab /home/user/cronfile ;
cron & ;
tail -F /home/user/cron.log
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 ; \
crontab /home/user/cronfile ; \
cron & ; \
tail -F /home/user/cron.log \
"]

0 comments on commit f24e275

Please sign in to comment.