Merge pull request 'dockerfile changes' (#11) from work into main
Reviewed-on: #11
This commit is contained in:
commit
e4bee8268f
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user