dockerfile changes #11

Merged
paradizelost merged 1 commits from work into main 2024-11-25 14:09:38 -06:00
Showing only changes of commit bea887526d - Show all commits

View File

@ -11,4 +11,4 @@ RUN chmod +x /usr/local/bin/libnotices.py
RUN chown www-data:www-data /var/www -R
RUN apt clean
EXPOSE 80
CMD ["/bin/bash -c cron -l 8","/bin/bash -c su - www-data -s /bin/bash python3 /usr/local/bin/libnotices.py", "/bin/bash -c apache2ctl -D FOREGROUND"]
CMD (cron -l 8 & ) && su - www-data -s /bin/bash python3 /usr/local/bin/libnotices.py && apache2ctl -D FOREGROUND"]