feat: Implement task monitoring web application
This commit is contained in:
17
monitor/Dockerfile
Normal file
17
monitor/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user