docker-ckan/ckan-pycsw/docker-entrypoint.d/entrypoint.sh

9 lines
223 B
Bash
Raw Normal View History

#!/bin/bash
set -xeuo pipefail
#TODO: -Xfrozen_modules=off from: https://bugs.python.org/issue1666807
/wait-for --timeout "$TIMEOUT" "$CKAN_URL" -- pdm run python3 -Xfrozen_modules=off ckan2pycsw/ckan2pycsw.py
exec "$@"