mirrored 7 minutes ago
0
adlsdztonyfeat&fix: update paths in configuration, enhance error handling, and improve UI elements cb62b3c
FROM python:3.9-slim

WORKDIR /app/monitor

# Install dependencies
COPY monitor/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

# Expose port (will be overridden by environment variable)
ARG FLASK_PORT=8080
EXPOSE ${FLASK_PORT}

# Command to run the application
CMD ["python", "main.py"]