diff --git a/Dockerfile b/Dockerfile index 1ad8234..7c9a7eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,3 +20,7 @@ COPY ./datahelpers /work/datahelpers RUN pip install /work/datahelpers # RUN poetry install + +RUN \ + sed -i '/import pandas._libs.testing as _testing/i np.bool = np.bool_' /usr/local/lib/python3.8/site-packages/pandas/util/testing.py && \ + sed -i '/import numpy as np/a np.object = np.object_' /usr/local/lib/python3.8/site-packages/pandas/core/internals/construction.py \ No newline at end of file diff --git a/README.md b/README.md index 83a477c..b68c99c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Schema reference implementations for multiple cities. ### Docker-based installation 1. Build the container - docker build -t opensidewalks-data . + docker build --platform linux/amd64 -t opensidewalks-data . ## Extract a single region's data