Ghaymah SRE exam submission - Mohamed Adel

This commit is contained in:
amohamedadel29
2026-07-28 03:54:42 +03:00
commit 9bf0dfa0e8
18 changed files with 1184 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# ---- Base image ----
FROM python:3.12-slim
WORKDIR /app
# ---- Copy app files ----
COPY monitor.py .
COPY dashboard.html .
COPY entrypoint.sh .
RUN chmod +x entrypoint.sh
# ---- Expose the dashboard port ----
EXPOSE 8080
# ---- Run monitor.py in the background + serve dashboard.html on 8080 ----
CMD ["./entrypoint.sh"]