更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-18 22:14:52 +08:00
parent 10322ff9f5
commit e71e0ead2f

View File

@ -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 \ service postgresql start && /bin/su postgres -c \
/tmp/cartodb_pgsql.sh && service postgresql stop && \ /tmp/cartodb_pgsql.sh && service postgresql stop && \
cd - && \ cd - && \
npm install && \ npm install
RUN cd cartodb && \
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 && \
pip install --no-binary :all: -r python_requirements.txt && \ pip install --no-binary :all: -r python_requirements.txt && \