#!/bin/bash # uso: run_fetch.sh -> descarga la lista cotejo/.csv con py/fetch.py (>= 5 s, cupo 150 en total) # Contenedor e1c-cotejo- con red, -m 2g, 1 CPU, timeout 1800 s; escribe solo en e1c/cotejo (montado en /w) set -u E=/e1c timeout 1800 docker run --rm -m 2g --memory-swap 2g --cpus 1 --user 1000:1000 --name "e1c-cotejo-$2" \ -v "$E/cotejo":/w -v "$E/py/fetch.py":/fetch.py:ro buscalicitaciones-etl:v2 python3 -I /fetch.py "$1"