Files
descarga_adjuntos_correos_cpe/Dockerfile
T

19 lines
373 B
Docker
Raw Normal View History

FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1 \
TZ=America/Lima
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip --no-cache-dir && pip install --no-cache-dir -r requirements.txt
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
tzdata \
rsync \
&& rm -rf /var/lib/apt/lists/*
COPY . .
CMD ["python", "main.py"]