prometheus-ssh-exporter/Dockerfile
2023-03-12 22:44:14 +01:00

14 lines
No EOL
273 B
Docker

FROM python:latest
WORKDIR /usr/app/src
COPY prometheus-ssh-exporter.py ./
COPY requirements.txt ./
RUN pip3 install -r requirements.txt
# Set this to the port you chose in the prometheus-ssh-exporter.py file
EXPOSE 9999
CMD ["python", "./prometheus-ssh-exporter.py"]