13 lines
242 B
Docker
13 lines
242 B
Docker
# Dockerfile for postgres_metrics_exporter
|
|
FROM python:3.9-slim-buster
|
|
|
|
WORKDIR /app
|
|
|
|
COPY prometheus_exporter.py .
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements2.txt
|
|
|
|
CMD ["python", "-u", "prometheus_exporter.py"]
|
|
|