mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
cleanup for webkit
This commit is contained in:
parent
45a7f4f2e0
commit
bd927b1919
@ -5,6 +5,8 @@
|
||||
FROM ubuntu:14.04
|
||||
MAINTAINER kev
|
||||
|
||||
RUN echo "Asia/Shanghai" > /etc/timezone
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
RUN apt-get update && apt-get install -y supervisor haproxy libfontconfig1 libfreetype6 monit nginx
|
||||
RUN mkdir -p /data/ /webkit/includes/
|
||||
|
||||
|
2
webkit/etc/monit/conf.d/cleanup.cfg
Normal file
2
webkit/etc/monit/conf.d/cleanup.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
check program cleanup with path "find /data -type f -cmin +60 -delete"
|
||||
every 5 cycles
|
Loading…
Reference in New Issue
Block a user