feat: Implement task monitoring web application

This commit is contained in:
adlsdztony
2025-06-01 10:31:27 +08:00
parent 7faa9554d7
commit 53c4106c5b
11 changed files with 1098 additions and 0 deletions

17
monitor/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.9-slim
WORKDIR /app
# Install dependencies
COPY monitor/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY monitor/ ./
# Expose port (will be overridden by environment variable)
ARG FLASK_PORT=8080
EXPOSE ${FLASK_PORT}
# Command to run the application
CMD ["python", "main.py"]