Files
status-python-sdk/Dockerfile
T
apentori 4d5df2e8ab Dockerfile: split dependency download layer
requirements should be copy first to avoid downloading everytime
    excluding example config from docker

Signed-off-by: apentori <pentori.alexis@proton.me>
2026-05-11 15:55:39 +02:00

14 lines
314 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
COPY bot/requirements.txt bot/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt \
&& if [ -f bot/requirements.txt ]; then pip install --no-cache-dir -r bot/requirements.txt; fi
COPY . .
ENTRYPOINT ["python", "monitor.py"]
CMD []