Fichiers
jimmyGALLAND 9b4759b4d1
Build and Push Docker Image / test-and-build (push) Successful in 46s
Initial commit
2026-02-25 23:50:50 +01:00

20 lignes
341 B
Docker

FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PYTHONPATH=/app
CMD ["python", "mail2sms/main.py"]