FROM debian:13 ENV PYTHONUNBUFFERED=1 WORKDIR /app # netcat-openbsd: run.sh waits for the DB with `nc -z` RUN apt-get update && \ apt-get install -y python3 python3-pip binutils libproj-dev gdal-bin netcat-openbsd && \ rm -rf /var/lib/apt/lists/* COPY requirements.txt /app/requirements.txt RUN pip3 install --break-system-packages --ignore-installed -r requirements.txt RUN pip3 install --break-system-packages setuptools # In docker compose the checkout mounted at /app overrides this copy; # in CI the image has to carry the code itself. COPY . /app #ENTRYPOINT ["./run.sh"]