fix: 增加腾讯镜像
This commit is contained in:
1 parent
e182536270
commit
a2d53b65b3
1 file changed
+4
-2
+4
-2
@@ -1,8 +1,10 @@
|
|||||||
# Stage 1: Build Stage
|
# Stage 1: Build Stage
|
||||||
FROM node:20 AS builder
|
FROM node:20 AS builder
|
||||||
|
|
||||||
# Install pnpm globally
|
# Set npm registry to Tencent Cloud
|
||||||
RUN npm install -g pnpm@latest
|
RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ \
|
||||||
|
&& npm install -g pnpm@latest
|
||||||
|
|
||||||
# Set the working directory inside the container
|
# Set the working directory inside the container
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user