Q5
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user