更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-11 00:29:42 +08:00
parent af5de9df68
commit 99f227b547

View File

@ -18,11 +18,11 @@ 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 - && \ #RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs && \ # apt-get install -y nodejs && \
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null && \ # 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 && \ # 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 # apt-get update && apt-get install -y yarn
#RUN rm -rf /cartodb #RUN rm -rf /cartodb