代码拉取完成,页面将自动刷新
同步操作将从 nop/screenshot-api-server 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
FROM node:16-buster-slim
MAINTAINER 575065955@qq.com
RUN \
sed -i 's/deb.debian.org/mirrors.cloud.tencent.com/g;s/security.debian.org/mirrors.cloud.tencent.com/g;s/security.debian.org/mirrors.cloud.tencent.com/g' /etc/apt/sources.list \
&& apt-get clean all && apt-get update && mkdir -p /usr/share/man/man1 \
&& apt-get install --no-install-recommends -y \
wget xfonts-intl-chinese ttf-wqy-microhei xfonts-wqy fonts-arphic-ukai fonts-cwtex-fs fonts-symbola xfonts-intl-european xfonts-intl-japanese \
fontconfig libfreetype6 libjpeg62-turbo libpng16-16 libx11-6 libxcb1 libxext6 libxrender1 xfonts-75dpi \
xfonts-base libfontconfig1 fontconfig-config libx11-data libxau6 libxdmcp6 ucf fonts-dejavu-core libexpat1 libbsd0 xfonts-utils libfontenc1 x11-common \
xfonts-encodings sensible-utils \
libatk1.0-dev libatk-bridge2.0-dev libxcomposite-dev libxrandr2 libgbm1 libxkbcommon-dev libpango1.0-dev \
default-jdk \
&& wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb \
&& (dpkg -i wkhtmltox_0.12.6-1.buster_amd64.deb; echo ignore wkhtmlx error) && apt --fix-broken -y install && rm -rf wkhtmltox_0.12.6-1.buster_amd64.deb \
&& npm config set registry https://registry.npm.taobao.org -g \
&& npm config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /etc/rc.*/*dbus \
&& apt-get clean all
ENV PATH /usr/local/bin:$PATH
ENV NODE_ENV production
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。