更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 21:55:48 +08:00
parent 249f7503fd
commit 696b1a9d9b

View File

@ -187,8 +187,9 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb &&
git checkout 667ec0e32c && \ git checkout 667ec0e32c && \
PGUSER=postgres make install && \ PGUSER=postgres make install && \
service postgresql start && /bin/su postgres -c \ service postgresql start && /bin/su postgres -c \
/tmp/cartodb_pgsql.sh && service postgresql stop && \ /tmp/cartodb_pgsql.sh && service postgresql stop
cd /cartodb && \
RUN cd /cartodb && \
npm install && \ npm install && \
rm -r /tmp/npm-* /root/.npm && \ rm -r /tmp/npm-* /root/.npm && \
perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \ perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \