更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 22:24:33 +08:00
parent 09d6962abb
commit b4ea704460

View File

@ -192,8 +192,10 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb &&
RUN cd /cartodb && npm install RUN cd /cartodb && npm install
# rm -r /tmp/npm-* /root/.npm && \ # rm -r /tmp/npm-* /root/.npm && \
RUN cd /cartodb && perl -pi -e 's/gdal==1\.10\.0/gdal==2.2.2/' python_requirements.txt && \ RUN cd /cartodb && \
pip install --no-binary :all: -r 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 python_requirements.txt
RUN cd /cartodb && \ RUN cd /cartodb && \
gem install bundler --version=1.17.3 && \ gem install bundler --version=1.17.3 && \