FROM python:3.11-slim RUN pip install requests COPY gpu-dashboard/ /app/ WORKDIR /app RUN mkdir -p /app/public && \ cp gpu.html /app/public/ && \ touch /app/public/gpu_metrics.json EXPOSE 8092 CMD ["sh", "-c", "python3 gpu_collector.py & python3 -m http.server 8092 --directory /app/public & wait"]