blob: c44e33bb5439fe10a5221fc8554f47cce4af83a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FROM debian:12-slim
# Add inotify-tools for inotifywait
#
# We also install curl as scripts using this image often
# call HTTP webhooks.
RUN apt-get -y update && apt-get install -y \
curl \
inotify-tools \
&& apt autoclean \
&& rm -rf /var/lib/apt/lists/*
# Set our working directory
WORKDIR /app
# Copy the reloader script into the working directory
COPY monitor.sh .
# Set the default command to run the reloader script
CMD ["/app/monitor.sh"]
|