diff --git a/.env.example b/.env.example index b704fed..f26310b 100644 --- a/.env.example +++ b/.env.example @@ -5,4 +5,4 @@ PUID=1000 PGID=1001 LEGACY_HISTORY_DIR=/vol1/1000/Apps/163-music-dl NPM_REGISTRY=https://registry.npmmirror.com -ALPINE_MIRROR=mirrors.aliyun.com +ALPINE_MIRROR=mirrors.cloud.tencent.com diff --git a/Dockerfile b/Dockerfile index 52e6c79..d64da81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index da26842..7e4a251 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: context: . args: NPM_REGISTRY: ${NPM_REGISTRY:-https://registry.npmmirror.com} - ALPINE_MIRROR: ${ALPINE_MIRROR:-mirrors.aliyun.com} + ALPINE_MIRROR: ${ALPINE_MIRROR:-mirrors.cloud.tencent.com} image: shengxia:latest container_name: shengxia restart: unless-stopped