更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 21:45:53 +08:00
parent f5b5bf3d58
commit cf34a0bc3e

View File

@ -188,7 +188,7 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb &&
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 - && \ 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 && \