diff --git a/Dockerfile b/Dockerfile index 9ca3800..c4b98c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +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"] \ No newline at end of file