fabaccess-prometheus-exporter/Dockerfile
2023-02-07 05:34:26 +01:00

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"]