fix(docker): copy .npmrc and use npmmirror registry for fast builds
This commit is contained in:
+2
-2
@@ -2,9 +2,9 @@ FROM node:24-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
COPY package*.json .npmrc* ./
|
||||
|
||||
RUN npm install
|
||||
RUN npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user