From 3dd7cfc3b2798111d071d7f013fcad090cdf495e Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Thu, 24 Apr 2025 15:34:19 -0700 Subject: [PATCH] add Dockerfile --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..690f7c6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +# Use an official Node.js runtime as a base +FROM node:20-alpine + +# Create app directory +WORKDIR /app + +RUN apk add python3 + +# Copy package.json and install dependencies +COPY package*.json ./ +RUN npm install --omit=dev + +# Copy the rest of the app +COPY . . + +# Make the script executable +RUN chmod +x cli.js +RUN chmod +x watcher.py + +ENTRYPOINT /app/watcher.py