fabaccess-prometheus-exporter/Dockerfile

9 lines
237 B
Docker
Raw Normal View History

2023-02-07 03:49:51 +01:00
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -yqq --no-install-recommends python3 python3-pip
WORKDIR /app
COPY . .
RUN pip3 install -r requirements.txt
RUN chmod u+x main.py
ENTRYPOINT ["/app/main.py"]