Files
sci-gui-agent-benchmark/monitor/Dockerfile
2025-06-01 10:31:27 +08:00

18 lines
346 B
Docker

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