Update Dockerfile

This commit is contained in:
DefectingCat
2022-01-19 21:53:17 +08:00
parent 2279639586
commit 3654f3fcc2

View File

@ -5,7 +5,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& apk update --no-cache \
&& apk upgrade --no-cache \
&& apk add --no-cache libc6-compat \
&& yarn config set registry https://registry.npm.taobao.org
&& yarn config set registry https://registry.npm.taobao.org \
&& yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp" \
&& yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
WORKDIR /app
COPY package.json yarn.lock ./