fabaccess-prometheus-exporter/Dockerfile

16 lines
299 B
Docker

FROM python:3.10.4-bullseye
WORKDIR /app
COPY requirements.txt requirements.txt
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y cmake capnproto clang gcc build-essential
COPY . .
RUN pip3 install -r requirements.txt
EXPOSE 9000
VOLUME /app/config
CMD [ "python3", "main.py"]