aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 3a6523ef270c000a01e24b6467b4da932ae82031 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 \
    jq \
    && 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"]