feat: use npmmirror for faster installs

This commit is contained in:
Superuser
2026-05-18 23:16:57 +08:00
parent de061ad86a
commit a7eb79dbaf
+1 -1
View File
@@ -1,7 +1,7 @@
FROM node:24-alpine FROM node:24-alpine
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
EXPOSE 3000 EXPOSE 3000