更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 00:16:17 +08:00
parent 986c06c476
commit af5de9df68

View File

@ -18,6 +18,12 @@ ADD ./fonts/SourceHanSansCN-Regular.otf /usr/share/fonts/SourceHanSansCN-Regular
RUN apt-get install -y nano net-tools ca-certificates RUN apt-get install -y nano net-tools ca-certificates
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt-get update && apt-get install -y yarn
#RUN rm -rf /cartodb #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 && \