build: 默认 Alpine 源改为腾讯云(阿里云源在 NAS 容器内极慢)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ RUN npm run build
|
||||
|
||||
FROM ${NODE_IMAGE}
|
||||
ARG NPM_REGISTRY=https://registry.npmmirror.com
|
||||
ARG ALPINE_MIRROR=mirrors.aliyun.com
|
||||
ARG ALPINE_MIRROR=mirrors.cloud.tencent.com
|
||||
RUN if [ -n "${ALPINE_MIRROR}" ]; then sed -i "s#dl-cdn.alpinelinux.org#${ALPINE_MIRROR}#g" /etc/apk/repositories; fi \
|
||||
&& apk add --no-cache ffmpeg su-exec tzdata
|
||||
|
||||
|
||||
Reference in New Issue
Block a user