Q5: Answer
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install requests
|
||||
|
||||
COPY monitor.py dashboard.html ./
|
||||
|
||||
RUN echo "[]" > metrics.json
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD nohup python monitor.py & python -m http.server 80
|
||||
Reference in New Issue
Block a user