mirror of
https://gitlab.com/fabinfra/fabaccess/prometheus-exporter.git
synced 2024-12-22 12:33:48 +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 9877
|
|
VOLUME /app/config
|
|
CMD [ "python3", "main.py"]
|