diff --git a/Dockerfile b/Dockerfile index c07c54a..02e266c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 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 git clone https://git.kongjian.xin:8443/cartodb/cartodb-4.29.git cartodb && \