We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08379bf commit e814106Copy full SHA for e814106
Dockerfile.yaml
@@ -1,5 +1,5 @@
1
-# Use node as the builder image
2
-FROM swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/guergeiro/pnpm:18-9
+# Use node as the base image
+FROM node:alpine
3
4
# Maintainer information
5
MAINTAINER tanwenyang@aliyun.com
@@ -13,6 +13,9 @@ COPY . /app
13
# Change the working directory to /app
14
WORKDIR /app
15
16
+#Install pnpm
17
+RUN npm install -g pnpm --registry=https://registry.npmmirror.com/
18
+
19
# Building the html code
20
RUN pnpm install --registry=https://registry.npmmirror.com/ && pnpm run build
21
0 commit comments