Q5
هذا الالتزام موجود في:
15
q5-mithal-monitor/Dockerfile
Normal file
15
q5-mithal-monitor/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN mv dashboard.html index.html
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD sh -c "python3 monitor.py && python3 -m http.server 8080"
|
||||
المرجع في مشكلة جديدة
حظر مستخدم