fix: dockerfile中的镜像
This commit is contained in:
1 parent
7f1859b838
commit
235ca8c4aa
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ RUN pnpm run build
|
|||||||
FROM node:22 AS production
|
FROM node:22 AS production
|
||||||
|
|
||||||
# Set npm registry to Tencent Cloud and install pnpm globally
|
# Set npm registry to Tencent Cloud and install pnpm globally
|
||||||
RUN pnpm config set registry https://mirrors.cloud.tencent.com/npm/ \
|
RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ \
|
||||||
&& npm install -g pnpm@latest
|
&& npm install -g pnpm@latest
|
||||||
|
|
||||||
# Set the working directory inside the container
|
# Set the working directory inside the container
|
||||||
|
|||||||
Reference in new issue
Block a user