feat: use npmmirror for faster installs

This commit is contained in:
Superuser
2026-05-18 23:16:54 +08:00
parent e05ac5cb15
commit 6ac1d24d21
+1 -1
View File
@@ -1,7 +1,7 @@
FROM node:24-alpine AS build FROM node:24-alpine AS build
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm config set registry https://registry.npmmirror.com && npm install
COPY . . COPY . .
RUN npm run build RUN npm run build