diff options
-rw-r--r-- | Dockerfile | 20 |
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"] |