From e71e0ead2f372dbd23fe9354712482439c08ef65 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 18 May 2023 22:14:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 && \