Files
automation-mail/gmail-to-tryton/Dockerfile
2025-12-28 20:44:40 +00:00

18 lines
297 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Installer dépendances
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copier scripts
COPY run.py .
COPY entrypoint.sh .
# Rendre le script exécutable
RUN chmod +x entrypoint.sh
# Entrypoint
ENTRYPOINT ["/app/entrypoint.sh"]