Files
IMAPSYNC/worker/Dockerfile
T
2026-04-21 15:10:35 +02:00

16 lines
304 B
Docker

FROM debian:bookworm-slim
# Install imapsync and dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
imapsync \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY worker.py .
RUN mkdir -p /data/logs
CMD ["python3", "-u", "worker.py"]