FROM python:3.8-slim # Add Tini ENV TINI_VERSION v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini ENTRYPOINT ["/tini", "--"] WORKDIR /app COPY utils/monitor-deployment . RUN pip install --no-cache-dir -r requirements.txt CMD ["python", "-u", "src/run.py"]