Files
Thinkcentre-watchdog/Dockerfile

23 lines
417 B
Docker

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"]