Merge pull request 'dockerfile changes' (#11) from work into main

Reviewed-on: #11
This commit is contained in:
paradizelost 2024-11-25 14:09:37 -06:00
commit e4bee8268f

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"]