feat: Add addditional Dockerfile.cn and compose.cn.yml #1

Open
fly6516 wants to merge 4 commits from Dockerfile.CN into main
Showing only changes of commit 4cd8478ccd - Show all commits

View File

@ -54,7 +54,9 @@ FROM base AS runner
WORKDIR /app
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirror.nju.edu.cn/alpine#g' /etc/apk/repositories && \
apk add --no-cache curl
apk add --no-cache curl && \
addgroup --system --gid 1001 nodejs && \
adduser --system --uid 1001 nextjs
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1