Dockerised and prepared with .env

This commit is contained in:
2025-12-05 22:09:44 +01:00
parent a3b13c5fe6
commit 257e4c2062
6 changed files with 476 additions and 110 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM alpine:latest
# Install required dependencies
RUN apk add --no-cache \
bash \
curl \
ca-certificates
# Create application directory
WORKDIR /app
# Copy monitoring script
COPY thinkcenter_monitor.sh /app/thinkcenter_monitor.sh
# Create log directory
RUN mkdir -p /var/log
# Make script executable
RUN chmod +x /app/thinkcenter_monitor.sh
# Set the entrypoint
CMD ["/app/thinkcenter_monitor.sh"]