dockerfile changes
All checks were successful
/ Plan (push) Successful in 8s
/ Plan (pull_request) Successful in 7s

This commit is contained in:
Dan Hamik 2024-11-25 14:09:26 -06:00
parent b6a9a8e8a4
commit bea887526d

View File

@ -11,4 +11,4 @@ RUN chmod +x /usr/local/bin/libnotices.py
RUN chown www-data:www-data /var/www -R RUN chown www-data:www-data /var/www -R
RUN apt clean RUN apt clean
EXPOSE 80 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"]