smtpd_watcher/Dockerfile
2025-01-31 13:31:10 +02:00

11 lines
242 B
Docker

FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN pip install .
VOLUME config
CMD [ "python", "/usr/local/bin/smtpd_watcher.py", "--config", "/config/config.conf" ]