diff --git a/Dockerfile b/Dockerfile index 57b1026..2da4a6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -191,7 +191,8 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && service postgresql start && /bin/su postgres -c \ /tmp/cartodb_pgsql.sh && service postgresql stop && \ cd - && \ - npm install && \ + npm install +RUN cd cartodb && \ rm -r /tmp/npm-* /root/.npm && \ perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \ pip install --no-binary :all: -r python_requirements.txt && \