aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-06-09 17:46:30 +0100
committerGravatar Joe Banks <[email protected]>2024-06-09 17:46:30 +0100
commitc2ed63a580f63b9277a29abcaff0d31af6c00345 (patch)
tree5595749b3a16ee9e806650e6d76e6a490721800d
parentInitial commit (diff)
Add Dockerfile
-rw-r--r--Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..c44e33b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,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"]