Compare commits

...

2 Commits

Author SHA1 Message Date
f66d597061 Merge pull request 'dockerfile changes' (#9) from work into main
Reviewed-on: #9
2024-11-25 14:07:18 -06:00
9c0d0aa6c2 dockerfile changes
All checks were successful
/ Plan (push) Successful in 12s
/ Plan (pull_request) Successful in 11s
2024-11-25 14:07:05 -06:00

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 ["cron -l 8","su - www-data -s /bin/bash python3 /usr/local/bin/libnotices.py", "apache2ctl -D FOREGROUND"]
CMD ["bash -c cron -l 8","bash -c su - www-data -s /bin/bash python3 /usr/local/bin/libnotices.py", "bash -c apache2ctl -D FOREGROUND"]