status / Dockerfile
Huacheng5240's picture
Create Dockerfile
b291e81 verified
raw
history blame contribute delete
No virus
214 Bytes
FROM python:3.8-slim-buster
WORKDIR /app
RUN apt-get update && apt-get install -y openssh-client
RUN pip install paramiko schedule flask
COPY vps_monitor.py .
EXPOSE 8080
CMD ["python", "-u", "vps_monitor.py"]