ceshi / Dockerfile
xjf6b's picture
Create Dockerfile
009c236 verified
raw
history blame contribute delete
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"]