更新 'Dockerfile'

main
zhongjin 1 year ago
parent c3970f621b
commit c4ac6d0d48

@ -22,13 +22,8 @@ RUN rm -rf /cartodb
RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \
cd cartodb && \ cd cartodb && \
# cd lib/sql && \ npm install
# PGUSER=postgres make install && \ RUN cd cartodb && bundle exec grunt
# service postgresql start && /bin/su postgres -c \
# /tmp/cartodb_pgsql.sh && service postgresql stop && \
# cd - && \
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 && \
# pip install --no-binary :all: -r python_requirements.txt && \ # pip install --no-binary :all: -r python_requirements.txt && \
@ -36,7 +31,7 @@ RUN git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb &&
# bundle update thin && \ # bundle update thin && \
# /bin/bash -l -c 'bundle install' && \ # /bin/bash -l -c 'bundle install' && \
# cp config/grunt_development.json ./config/grunt_true.json && \ # cp config/grunt_development.json ./config/grunt_true.json && \
/bin/bash -l -c 'bundle exec grunt' # /bin/bash -l -c 'bundle exec grunt'
# && \ # && \
#rm -rf .git /root/.cache/pip node_modules #rm -rf .git /root/.cache/pip node_modules

Loading…
Cancel
Save