diff --git a/docker/config.sh b/docker/config.sh index b6401f9c..fc771491 100755 --- a/docker/config.sh +++ b/docker/config.sh @@ -13,18 +13,18 @@ else exit 1 fi -DIR="../geojson-data/output" +DIR="../appconfig/files/uitdatabank/docker/keys/" if [ -d "$DIR" ]; then - cp "$DIR"/facet_mapping_regions.yml . + cp -R "$DIR"/* . else - echo "Error: missing geojson data. See docker.md prerequisites to fix this." + echo "Error: missing appconfig. The appconfig and udb3-search-service repositories must be cloned into the same parent folder." exit 1 fi -DIR="../appconfig/files/uitdatabank/docker/keys/" +DIR="../geojson-data/output" if [ -d "$DIR" ]; then - cp -R "$DIR"/* . + cp "$DIR"/facet_mapping_regions.yml . else - echo "Error: missing appconfig. The appconfig and udb3-search-service repositories must be cloned into the same parent folder." + echo "Error: missing geojson data. See docker.md prerequisites to fix this." exit 1 fi \ No newline at end of file