12 lines
218 B
Docker
12 lines
218 B
Docker
FROM python:3.12.3-alpine
|
|
|
|
COPY ["requirements.txt", "imap_exporter.py", "./"]
|
|
|
|
RUN apk add openssl
|
|
|
|
RUN python3 -m pip install -r requirements.txt --no-cache-dir
|
|
|
|
EXPOSE 9119
|
|
|
|
CMD ["python", "-u", "imap_exporter.py"]
|