22 lines
495 B
Docker
22 lines
495 B
Docker
FROM debian:bookworm-slim
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --no-install-recommends -y \
|
|
busybox \
|
|
cron \
|
|
sarg \
|
|
supervisor \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& mkdir -p /www
|
|
|
|
COPY sarg-minute.cron /etc/cron.d/sarg-minute
|
|
COPY sarg.conf /etc/sarg/sarg.conf
|
|
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
|
|
|
RUN chmod 0644 /etc/cron.d/sarg-minute
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] |