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

11 lines
268 B
Bash
Raw Normal View History

#!/bin/bash
set -xeuo pipefail
2023-09-22 11:02:00 +02:00
envsubst < pycsw.conf.template > pycsw.conf
#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 "$@"