From 696b1a9d9beceb06f6cbcb93911aacf5c35db4ed Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 21:55:48 +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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c012b9a..b09e641 100644 --- a/Dockerfile +++ b/Dockerfile @@ -187,8 +187,9 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && git checkout 667ec0e32c && \ PGUSER=postgres make install && \ service postgresql start && /bin/su postgres -c \ - /tmp/cartodb_pgsql.sh && service postgresql stop && \ - cd /cartodb && \ + /tmp/cartodb_pgsql.sh && service postgresql stop + +RUN cd /cartodb && \ npm install && \ rm -r /tmp/npm-* /root/.npm && \ perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \