-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
18 lines (18 loc) · 852 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ubuntu:24.04
RUN apt-get update && \
apt-get install python3-pip -y && \
rm -rf /var/lib/apt/lists/* && \
pip3 install --no-cache-dir --break-system-packages \
prometheus_client==0.20.0 \
python-decouple==3.8 \
requests==2.32.3 \
redis==5.2.0
COPY --chmod=755 ./exporter.py ./Dockerfile /
CMD ["/exporter.py"]
ARG VERSION
LABEL org.opencontainers.image.version=$VERSION
LABEL org.opencontainers.image.source=https://github.com/amnezia-vpn/amneziawg-exporter
LABEL org.opencontainers.image.description='Prometheus Exporter for AmneziaWG Server'
LABEL org.opencontainers.image.authors='@DarthSidious007 ([email protected])'
LABEL org.opencontainers.image.url=https://github.com/amnezia-vpn/amneziawg-exporter
LABEL org.opencontainers.image.documentation=https://github.com/amnezia-vpn/amneziawg-exporter/blob/main/README.md