aahmadzada | 1344354 | 2024-10-04 11:30:03 +0400 | [diff] [blame] | 1 | FROM python:3.12-alpine3.20 |
Oleksii Molchanov | 188adb5 | 2022-02-03 18:30:00 +0200 | [diff] [blame] | 2 | |
Michal Kobus | 14e835b | 2019-04-11 14:25:27 +0200 | [diff] [blame] | 3 | WORKDIR /usr/src/app |
Michal Kobus | d7a81db | 2021-07-23 16:38:44 +0200 | [diff] [blame] | 4 | COPY requirements.txt /usr/src/app/ |
aahmadzada | 1344354 | 2024-10-04 11:30:03 +0400 | [diff] [blame] | 5 | RUN apk upgrade --no-cache && \ |
| 6 | pip install --upgrade pip -r requirements.txt |
Michal Kobus | 14e835b | 2019-04-11 14:25:27 +0200 | [diff] [blame] | 7 | |
| 8 | EXPOSE 9206 |
| 9 | |
| 10 | ENTRYPOINT ["python", "-u", "/usr/local/bin/prometheus-es-exporter"] |