remove_duplicate_imap_messages/Dockerfile

11 lines
259 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/remove_duplicate_imap_messages.py", "--config", "/config/config.conf" ]