mirror of
https://gitlab.com/fabinfra/fabaccess/prometheus-exporter.git
synced 2024-12-21 12:03:49 +01:00
16 lines
299 B
Docker
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"]
|