修改Dockerfile

This commit is contained in:
2025-10-14 14:22:21 +08:00
parent ac715a8b88
commit c5b8d8fd5d

View File

@@ -3,10 +3,10 @@ FROM node:22-alpine3.21 AS base
LABEL maintainer="takatost@gmail.com" LABEL maintainer="takatost@gmail.com"
# if you located in China, you can use aliyun mirror to speed up # if you located in China, you can use aliyun mirror to speed up
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# if you located in China, you can use taobao registry to speed up # if you located in China, you can use taobao registry to speed up
# RUN npm config set registry https://registry.npmmirror.com RUN npm config set registry https://registry.npmmirror.com
RUN apk add --no-cache tzdata RUN apk add --no-cache tzdata
RUN corepack enable RUN corepack enable