Files
fnos-resmon/Dockerfile
T
2026-11-06 16:20:25 +08:00

12 lines
266 B
Docker

FROM python:3.11-slim
WORKDIR /app
RUN pip install --no-cache-dir flask psutil -i https://mirrors.aliyun.com/pypi/simple/
COPY app.py .
COPY hw_mem.json .
COPY hw_disk.json .
COPY hw_net.json .
COPY public ./public
ENV PORT=7031
EXPOSE 7031
CMD ["python", "app.py"]