mirror of
https://github.com/Lunik/gitea_prometheus_exporter.git
synced 2025-04-18 11:04:02 +03:00
16 lines
243 B
Docker
16 lines
243 B
Docker
FROM python:alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
COPY api api
|
|
COPY lib lib
|
|
COPY prometheus-exporter.py .
|
|
COPY config.yml.exemple config.yml
|
|
|
|
EXPOSE 9100
|
|
|
|
CMD ["python3", "prometheus-exporter.py"] |