diff --git a/Makefile b/Makefile index e3d9c2d..6b0a131 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ test: build export export: import docker run --rm \ -v $(EXPORT_DATA_DIR):/data/export \ - -v $(CWD)/osm-bright-2.tm2source:/project \ + -v $(CWD)/osm-bright-2.tm2source:/data/tm2source \ -e MIN_ZOOM=12 \ -e MAX_ZOOM=14 \ -e BBOX=$(ZURICH_BBOX) \ diff --git a/database/tilelive/export.sh b/database/tilelive/export.sh index cba7b75..8d3990c 100755 --- a/database/tilelive/export.sh +++ b/database/tilelive/export.sh @@ -18,7 +18,7 @@ readonly MIN_ZOOM=${MIN_ZOOM:-0} readonly MAX_ZOOM=${MAX_ZOOM:-14} readonly BBOX=${BBOX:-"-180, -85.0511, 180, 85.0511"} -readonly DEST_PROJECT_DIR="/project" +readonly DEST_PROJECT_DIR="/tmp/project" readonly DEST_PROJECT_FILE="${DEST_PROJECT_DIR%%/}/data.yml" # project config will be copied to new folder because we